1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Do not change the bordered style on Windows

It's useless and it seems that the textures reload doesn't work
everytime in this case.
This commit is contained in:
Mathieu Schroeter 2018-05-31 22:28:51 +02:00
parent 0654c3939a
commit 2d80222257

View File

@ -1691,7 +1691,9 @@ 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)