summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index f03d784a1..4c97ea327 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -219,6 +219,12 @@ void GraphicsManager::initGraphics(bool noOpenGL)
mainGraphics = new SafeOpenGLGraphics;
mUseTextureSampler = false;
break;
+ case 3:
+ imageHelper = new OpenGLImageHelper;
+ sdlImageHelper = new SDLImageHelper;
+ mainGraphics = new MobileOpenGLGraphics;
+ mUseTextureSampler = false;
+ break;
};
mUseAtlases = imageHelper->useOpenGL()
&& config.getBoolValue("useAtlases");