diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-18 13:37:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-18 13:37:41 +0300 |
commit | 4cc01712f1b4646a01e2231dba88e3aef94f250c (patch) | |
tree | 927490785fe39e3bf9b199ad422ce846b3f655c5 | |
parent | 75e4c0b3b2b6497c4f81bfe5695e6570932162e9 (diff) | |
download | manaplus-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.gz manaplus-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.bz2 manaplus-4cc01712f1b4646a01e2231dba88e3aef94f250c.tar.xz manaplus-4cc01712f1b4646a01e2231dba88e3aef94f250c.zip |
fix render mode fallback.
-rw-r--r-- | src/graphicsmanager.cpp | 1 |
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(); |