summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-12-31 16:22:56 +0000
committerDavid Athay <ko2fan@gmail.com>2008-12-31 16:22:56 +0000
commitd7a5438d3c7b140c0966243bae98ff447385d246 (patch)
tree7c8666ba7c670b1a1b787144ff1b2df0ad4387b0 /src/gui/setup_video.cpp
parent69dddef124d870a874b544e478d4c19616fe8370 (diff)
downloadMana-d7a5438d3c7b140c0966243bae98ff447385d246.tar.gz
Mana-d7a5438d3c7b140c0966243bae98ff447385d246.tar.bz2
Mana-d7a5438d3c7b140c0966243bae98ff447385d246.tar.xz
Mana-d7a5438d3c7b140c0966243bae98ff447385d246.zip
Fixed OSX fullscreen hang
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp4
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.");