1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Merge pull request #2562 from Aroidzap/bugfix-StartResolution

fixed bug in "Fix #2158"
This commit is contained in:
Ted John
2015-12-26 23:13:29 +00:00

View File

@@ -443,7 +443,7 @@ void platform_process_messages()
SDL_RestoreWindow(gWindow);
SDL_MaximizeWindow(gWindow);
}
if (SDL_GetWindowFlags(gWindow) & SDL_WINDOW_FULLSCREEN_DESKTOP) {
if ((SDL_GetWindowFlags(gWindow) & SDL_WINDOW_FULLSCREEN_DESKTOP) == SDL_WINDOW_FULLSCREEN_DESKTOP) {
SDL_RestoreWindow(gWindow);
SDL_SetWindowFullscreen(gWindow, SDL_WINDOW_FULLSCREEN_DESKTOP);
}