diff options
author | David Athay <ko2fan@gmail.com> | 2008-12-31 16:22:56 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-12-31 16:22:56 +0000 |
commit | d7a5438d3c7b140c0966243bae98ff447385d246 (patch) | |
tree | 7c8666ba7c670b1a1b787144ff1b2df0ad4387b0 /src/gui | |
parent | 69dddef124d870a874b544e478d4c19616fe8370 (diff) | |
download | mana-client-d7a5438d3c7b140c0966243bae98ff447385d246.tar.gz mana-client-d7a5438d3c7b140c0966243bae98ff447385d246.tar.bz2 mana-client-d7a5438d3c7b140c0966243bae98ff447385d246.tar.xz mana-client-d7a5438d3c7b140c0966243bae98ff447385d246.zip |
Fixed OSX fullscreen hang
Diffstat (limited to 'src/gui')
-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 54169b63..23d2d9c2 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -285,7 +285,7 @@ void Setup_Video::apply() * See http://libsdl.org/cgi/docwiki.cgi/SDL_SetVideoMode */ -#ifdef WIN32 +#if defined(WIN32) || defined(__APPLE__) // checks for opengl usage if (!(config.getValue("opengl", 0) == 1)) { @@ -303,7 +303,7 @@ void Setup_Video::apply() logger->error(error.str()); } } -#ifdef WIN32 +#if defined(WIN32) || defined(__APPLE__) } else { new OkDialog("Switching to full screen", "Restart needed for changes to take effect."); |