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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user