diff options
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 008cc2d9f..0335fe53f 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -537,8 +537,8 @@ void GraphicsManager::initGraphics() config.getBoolValue("enableGuiOpacity")); #endif // USE_OPENGL createRenderers(); - detectPixelSize(); setVideoMode(); + detectPixelSize(); #ifdef USE_OPENGL if (config.getBoolValue("checkOpenGLVersion") == true) { @@ -583,8 +583,8 @@ void GraphicsManager::initGraphics() settings.options.renderer = CAST_S32(openGLMode); config.setValue("opengl", settings.options.renderer); createRenderers(); - detectPixelSize(); setVideoMode(); + detectPixelSize(); } } #if !defined(ANDROID) && !defined(__APPLE__) |