Trigger the SDL bug #4700 only if we're in fullscreen.

This commit is contained in:
Yamagi Burmeister 2019-07-10 19:02:54 +02:00
parent 2681276fa1
commit 3b641e481d

View file

@ -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");