1
0
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:
Mathieu Schroeter 2018-05-31 22:46:43 +02:00
parent 3aba743cd4
commit b116a98d4e

View File

@ -1691,9 +1691,7 @@ CEvent::SetFullScreen (bool bFullScreen)
}
SDL_SetWindowFullscreen (g_window, bFullScreen ? SDL_WINDOW_FULLSCREEN : 0);
#ifndef _WIN32
SDL_SetWindowBordered (g_window, bFullScreen ? SDL_FALSE : SDL_TRUE);
#endif /* _WIN32 */
SDL_SetWindowGrab (g_window, bFullScreen ? SDL_TRUE : SDL_FALSE);
if (!g_bFullScreen)