summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-01-18 23:12:15 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-01-18 23:12:15 +0100
commita10cebb21bdd211716628039b406362f2168c852 (patch)
treef8776ca56b5972b1ae6bae31e84b12d37019d41a /src/gui/setup_video.cpp
parentf4abf6b94adf53db7a053f7c342cc79f69a03262 (diff)
parenta2c136d3ae4f192f30ea229c4a313bc528e26c90 (diff)
downloadmana-a10cebb21bdd211716628039b406362f2168c852.tar.gz
mana-a10cebb21bdd211716628039b406362f2168c852.tar.bz2
mana-a10cebb21bdd211716628039b406362f2168c852.tar.xz
mana-a10cebb21bdd211716628039b406362f2168c852.zip
Merge branch 'master' of git@gitorious.org:tmw/eathena
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 51a5fac5..9fb38f13 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -287,7 +287,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))
{
@@ -305,7 +305,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."));