forked from rosebudai/OpenRCT2-Web
Merge pull request #2562 from Aroidzap/bugfix-StartResolution
fixed bug in "Fix #2158"
This commit is contained in:
commit
cbca0849d7
1 file changed
+1
-1
@@ -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