summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-25 15:11:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-25 15:11:44 +0300
commit36366dfc20c247b2046da0230d2295f7bf79630e (patch)
tree3fe4c4864ddd7a344c705a6da817a9ff65c4ec2a /src/gui/setup_video.cpp
parent0f6b7350ad0305d518fb75a8aa07f0616178ede5 (diff)
downloadManaVerse-36366dfc20c247b2046da0230d2295f7bf79630e.tar.gz
ManaVerse-36366dfc20c247b2046da0230d2295f7bf79630e.tar.bz2
ManaVerse-36366dfc20c247b2046da0230d2295f7bf79630e.tar.xz
ManaVerse-36366dfc20c247b2046da0230d2295f7bf79630e.zip
Block on the fly window resize in MacOSX and Android.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 2ad2105cd..52e79d69f 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -497,7 +497,7 @@ void Setup_Video::action(const gcn::ActionEvent &event)
if (width != mainGraphics->mWidth || height != mainGraphics->mHeight)
{
-#if defined(_WIN32)
+#if defined(WIN32) || defined(__APPLE__) || defined(ANDROID)
if (!config.getIntValue("opengl"))
{
Client::resize(width, height);