summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-18 13:37:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-18 13:37:41 +0300
commit4cc01712f1b4646a01e2231dba88e3aef94f250c (patch)
tree927490785fe39e3bf9b199ad422ce846b3f655c5
parent75e4c0b3b2b6497c4f81bfe5695e6570932162e9 (diff)
downloadManaVerse-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.gz
ManaVerse-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.bz2
ManaVerse-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.xz
ManaVerse-4cc01712f1b4646a01e2231dba88e3aef94f250c.zip
fix render mode fallback.
-rw-r--r--src/graphicsmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index bc836d381..9b2c1c010 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -485,6 +485,7 @@ void GraphicsManager::initGraphics()
if (openGLMode != oldOpenGLMode)
{
deleteRenderers();
+ config.setValue("opengl", static_cast<int>(openGLMode));
createRenderers();
detectPixelSize();
setVideoMode();