mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-20 19:02:23 +00:00
Trigger the SDL bug #4700 only if we're in fullscreen.
This commit is contained in:
parent
2681276fa1
commit
3b641e481d
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ CreateSDLWindow(int flags, int w, int h)
|
|||
return false;
|
||||
}
|
||||
|
||||
if ((real_mode.w != w) || (real_mode.h != h))
|
||||
if ((flags & SDL_WINDOW_FULLSCREEN) && ((real_mode.w != w) || (real_mode.h != h)))
|
||||
{
|
||||
|
||||
Com_Printf("Current display mode isn't requested display mode\n");
|
||||
|
|
Loading…
Reference in a new issue