diff options
-rw-r--r-- | src/graphicsmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 10eaea9ab..8af549e96 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -478,7 +478,8 @@ void GraphicsManager::initGraphics() if (openGLMode != oldOpenGLMode) { deleteRenderers(); - config.setValue("opengl", static_cast<int>(openGLMode)); + settings.options.renderer = static_cast<int>(openGLMode); + config.setValue("opengl", settings.options.renderer); createRenderers(); detectPixelSize(); setVideoMode(); |