mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Revert "Do not change the bordered style on Windows"
It's not a problem... This reverts commit 2d80222257f5745fd86d61e1800cdc08e1b7d8b8.
This commit is contained in:
parent
3aba743cd4
commit
b116a98d4e
@ -1691,9 +1691,7 @@ CEvent::SetFullScreen (bool bFullScreen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetWindowFullscreen (g_window, bFullScreen ? SDL_WINDOW_FULLSCREEN : 0);
|
SDL_SetWindowFullscreen (g_window, bFullScreen ? SDL_WINDOW_FULLSCREEN : 0);
|
||||||
#ifndef _WIN32
|
|
||||||
SDL_SetWindowBordered (g_window, bFullScreen ? SDL_FALSE : SDL_TRUE);
|
SDL_SetWindowBordered (g_window, bFullScreen ? SDL_FALSE : SDL_TRUE);
|
||||||
#endif /* _WIN32 */
|
|
||||||
SDL_SetWindowGrab (g_window, bFullScreen ? SDL_TRUE : SDL_FALSE);
|
SDL_SetWindowGrab (g_window, bFullScreen ? SDL_TRUE : SDL_FALSE);
|
||||||
|
|
||||||
if (!g_bFullScreen)
|
if (!g_bFullScreen)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user