summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-19 20:59:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-19 20:59:49 +0300
commit378441b559615cc96150e64137ae2ce02d23d2f2 (patch)
tree10ceb5467000747f3b1d6f41c96ca5a595f57d4f /src/graphicsmanager.cpp
parent11209f8ab3bfc738f0249e0cdfe6400f73cb0b85 (diff)
downloadmv-378441b559615cc96150e64137ae2ce02d23d2f2.tar.gz
mv-378441b559615cc96150e64137ae2ce02d23d2f2.tar.bz2
mv-378441b559615cc96150e64137ae2ce02d23d2f2.tar.xz
mv-378441b559615cc96150e64137ae2ce02d23d2f2.zip
fix some compilation issues in different platforms.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 423b08202..d226e35e0 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -150,7 +150,9 @@ int GraphicsManager::detectGraphics()
logger->log1("enable opengl mode");
int textureSampler = 0;
int compressTextures = 0;
+#ifndef ANDROID
mainGraphics = new NormalOpenGLGraphics;
+#endif
SDL_Window *const window = createWindow(100, 100, 0,
SDL_ANYFORMAT | SDL_OPENGL);
mainGraphics->setWindow(window, 100, 100);