summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-28 19:44:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-28 23:13:01 +0300
commitc854f8a7972291060970f3c4bb88178bf77df4ea (patch)
tree94ef19c18985c490a716375614ec5639962f8c3e /src/gui
parenta5922daffebf5d78936cf248a7a6a8bfc86c026c (diff)
downloadmanaverse-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.gz
manaverse-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.bz2
manaverse-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.xz
manaverse-c854f8a7972291060970f3c4bb88178bf77df4ea.zip
Not allow switch resolution on the fly under Android with OpenGL.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index cb3514459..747478dbb 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -337,7 +337,7 @@ void Setup_Video::apply()
* See http://libsdl.org/cgi/docwiki.cgi/SDL_SetVideoMode
*/
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) || defined(ANDROID)
// checks for opengl usage
if (!config.getIntValue("opengl"))
{
@@ -363,7 +363,7 @@ void Setup_Video::apply()
logger->safeError(errorMsg.str());
}
}
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) || defined(ANDROID)
}
else
{