summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
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/setup_video.cpp
parenta5922daffebf5d78936cf248a7a6a8bfc86c026c (diff)
downloadmv-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.gz
mv-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.bz2
mv-c854f8a7972291060970f3c4bb88178bf77df4ea.tar.xz
mv-c854f8a7972291060970f3c4bb88178bf77df4ea.zip
Not allow switch resolution on the fly under Android with OpenGL.
Diffstat (limited to 'src/gui/setup_video.cpp')
-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
{