diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-11 15:17:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-11 15:17:51 +0300 |
commit | 7ae821cb4aeaa48871944b0d6997fb79f423122e (patch) | |
tree | 25a0ee21b2133f3d50af8c7025f555330c9b0aa2 /src/graphicsmanager.cpp | |
parent | 4a21c51e2183c41079342a20239cb8d10f8f2e0c (diff) | |
download | plus-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.gz plus-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.bz2 plus-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.xz plus-7ae821cb4aeaa48871944b0d6997fb79f423122e.zip |
Disable OpenGL mode fallback if test running.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 8af549e96..40064925d 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -475,7 +475,7 @@ void GraphicsManager::initGraphics() openGLMode = RENDER_SAFE_OPENGL; } } - if (openGLMode != oldOpenGLMode) + if (openGLMode != oldOpenGLMode && !settings.options.test.empty()) { deleteRenderers(); settings.options.renderer = static_cast<int>(openGLMode); |