diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-28 19:44:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-28 23:13:01 +0300 |
commit | c854f8a7972291060970f3c4bb88178bf77df4ea (patch) | |
tree | 94ef19c18985c490a716375614ec5639962f8c3e /src/gui/setup_video.cpp | |
parent | a5922daffebf5d78936cf248a7a6a8bfc86c026c (diff) | |
download | mv-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.cpp | 4 |
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 { |