diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index 17a2efc0b0..3066a410cc 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -205,6 +205,19 @@ bool GraphicsPage::setupSDLWordaround() { SDL_Quit(); return false; } + + bool isDouble = false; + for (std::vector::iterator it = mVideoModes.begin(); it != mVideoModes.end(); it++) + { + if ((*it).w == mode.w && (*it).h == mode.h && (*it).screen == displayIndex) + { + isDouble = true; + break; + } + } + if (isDouble) + continue; + VideoMode vmode; vmode.w = mode.w; vmode.h = mode.h;