summaryrefslogtreecommitdiff
path: root/src
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
parent0f6b7350ad0305d518fb75a8aa07f0616178ede5 (diff)
downloadplus-36366dfc20c247b2046da0230d2295f7bf79630e.tar.gz
plus-36366dfc20c247b2046da0230d2295f7bf79630e.tar.bz2
plus-36366dfc20c247b2046da0230d2295f7bf79630e.tar.xz
plus-36366dfc20c247b2046da0230d2295f7bf79630e.zip
Block on the fly window resize in MacOSX and Android.
Diffstat (limited to 'src')
-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);