diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-26 13:33:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-26 13:48:26 +0300 |
commit | 75a80fdfdce4be53ce7d7b1d02400d3f79a144c0 (patch) | |
tree | ac13334dd960a3dfb65aaebbba247e6245d1e104 /src/graphicsmanager.cpp | |
parent | 9abb51fce0cca32ebe267c4797363d99520c2a0a (diff) | |
download | manaverse-75a80fdfdce4be53ce7d7b1d02400d3f79a144c0.tar.gz manaverse-75a80fdfdce4be53ce7d7b1d02400d3f79a144c0.tar.bz2 manaverse-75a80fdfdce4be53ce7d7b1d02400d3f79a144c0.tar.xz manaverse-75a80fdfdce4be53ce7d7b1d02400d3f79a144c0.zip |
Android compilation fixes.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 4c97ea327..4ffe48042 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -208,6 +208,7 @@ void GraphicsManager::initGraphics(bool noOpenGL) break; case 1: default: +#ifndef ANDROID imageHelper = new OpenGLImageHelper; sdlImageHelper = new SDLImageHelper; mainGraphics = new NormalOpenGLGraphics; @@ -219,6 +220,7 @@ void GraphicsManager::initGraphics(bool noOpenGL) mainGraphics = new SafeOpenGLGraphics; mUseTextureSampler = false; break; +#endif case 3: imageHelper = new OpenGLImageHelper; sdlImageHelper = new SDLImageHelper; @@ -247,9 +249,13 @@ Graphics *GraphicsManager::createGraphics() return new Graphics; case 1: default: +#ifndef ANDROID return new NormalOpenGLGraphics; case 2: return new SafeOpenGLGraphics; +#endif + case 3: + return new MobileOpenGLGraphics; }; #else return new Graphics; |