summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-12 15:22:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-12 16:10:30 +0300
commitf07d919be74197a45f291d457ad44b872ce541de (patch)
tree2fda678f4cd2d1bb0a428fe225fa63adb59b1b6f /src/graphicsmanager.cpp
parent045180991b473e03e3283cc1a440dced876cf23a (diff)
downloadmv-f07d919be74197a45f291d457ad44b872ce541de.tar.gz
mv-f07d919be74197a45f291d457ad44b872ce541de.tar.bz2
mv-f07d919be74197a45f291d457ad44b872ce541de.tar.xz
mv-f07d919be74197a45f291d457ad44b872ce541de.zip
Fix render fallback. In nacl fallback to software mode.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index a5ae02872..d3b5a8c55 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -502,11 +502,12 @@ void GraphicsManager::initGraphics()
// +++ here need check also not implimented gles flag
if (!checkGLVersion(2, 0))
{
- logger->log("Fallback to safe OpenGL mode");
- openGLMode = RENDER_SAFE_OPENGL;
+ logger->log("Fallback to software mode");
+ openGLMode = RENDER_SOFTWARE;
}
}
- if (openGLMode != oldOpenGLMode && !settings.options.test.empty())
+
+ if (openGLMode != oldOpenGLMode)
{
deleteRenderers();
settings.options.renderer = static_cast<int>(openGLMode);