diff options
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 257d4233e..938c0ccf1 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -254,7 +254,12 @@ void GraphicsManager::createRenderers() { RenderType useOpenGL = RENDER_SOFTWARE; if (!settings.options.noOpenGL) - useOpenGL = intToRenderType(config.getIntValue("opengl")); + { + if (settings.options.renderer < 0) + useOpenGL = intToRenderType(config.getIntValue("opengl")); + else + useOpenGL = intToRenderType(settings.options.renderer); + } // Setup image loading for the right image format ImageHelper::setOpenGlMode(useOpenGL); |