mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix fullscreen on Linux
This commit is contained in:
parent
c4e2fcaa3a
commit
0a4515af82
@ -398,7 +398,7 @@ static bool DoInit (Sint32 argc, char *argv[])
|
||||
// Create a window.
|
||||
if (g_bFullScreen)
|
||||
g_window = SDL_CreateWindow (NAME, 0, 0, LXIMAGE, LYIMAGE,
|
||||
SDL_WINDOW_FULLSCREEN | SDL_WINDOW_INPUT_GRABBED);
|
||||
SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_INPUT_GRABBED);
|
||||
else
|
||||
g_window = SDL_CreateWindow (NAME, SDL_WINDOWPOS_CENTERED,
|
||||
SDL_WINDOWPOS_CENTERED, LXIMAGE, LYIMAGE, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user