From 36366dfc20c247b2046da0230d2295f7bf79630e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Dec 2012 15:11:44 +0300 Subject: Block on the fly window resize in MacOSX and Android. --- src/gui/setup_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2