From f07d919be74197a45f291d457ad44b872ce541de Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 Dec 2015 15:22:15 +0300 Subject: Fix render fallback. In nacl fallback to software mode. --- src/graphicsmanager.cpp | 7 ++++--- 1 file 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(openGLMode); -- cgit v1.2.3-70-g09d2