From c854f8a7972291060970f3c4bb88178bf77df4ea Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sun, 28 Oct 2012 19:44:02 +0300
Subject: Not allow switch resolution on the fly under Android with OpenGL.

---
 src/gui/setup_video.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/gui')

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
         {
-- 
cgit v1.2.3-70-g09d2