mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Fix compilation error.
This commit is contained in:
parent
91e6f49231
commit
b9b41a730b
1 changed files with 5 additions and 5 deletions
|
|
@ -154,15 +154,15 @@ void GameWindow::Init(bool sdlVideoDefault)
|
|||
{
|
||||
int videoRes = SDL_VideoInit("wayland");
|
||||
if (videoRes != 0)
|
||||
SDL_VideoInit(nullptr);
|
||||
sdlVideoDefault = true;
|
||||
}
|
||||
#else
|
||||
else
|
||||
{
|
||||
SDL_VideoInit(nullptr);
|
||||
}
|
||||
sdlVideoDefault = true;
|
||||
#endif
|
||||
|
||||
if (sdlVideoDefault)
|
||||
SDL_VideoInit(nullptr);
|
||||
|
||||
const char* videoDriverName = SDL_GetCurrentVideoDriver();
|
||||
if (videoDriverName != nullptr)
|
||||
fmt::println("SDL Video Driver: {}", videoDriverName);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue