summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-11 15:17:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-11 15:17:51 +0300
commit7ae821cb4aeaa48871944b0d6997fb79f423122e (patch)
tree25a0ee21b2133f3d50af8c7025f555330c9b0aa2
parent4a21c51e2183c41079342a20239cb8d10f8f2e0c (diff)
downloadmv-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.gz
mv-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.bz2
mv-7ae821cb4aeaa48871944b0d6997fb79f423122e.tar.xz
mv-7ae821cb4aeaa48871944b0d6997fb79f423122e.zip
Disable OpenGL mode fallback if test running.
-rw-r--r--src/graphicsmanager.cpp2
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);