From: merlijn Date: Thu, 8 Mar 2012 09:39:58 +0000 (+0100) Subject: Fullscreen actually works on OSX these days, so don't enforce windowed mode for 10... X-Git-Tag: xonotic-v0.6.0~2^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9aaa97f85208aaf0537fca330e06987a08c8c8c7;p=xonotic%2Fxonotic.git Fullscreen actually works on OSX these days, so don't enforce windowed mode for 10.7.3 and up --- diff --git a/misc/buildfiles/osx/Xonotic.app/Contents/MacOS/xonotic-osx-sdl b/misc/buildfiles/osx/Xonotic.app/Contents/MacOS/xonotic-osx-sdl index f5789e8e..2155d9a9 100755 --- a/misc/buildfiles/osx/Xonotic.app/Contents/MacOS/xonotic-osx-sdl +++ b/misc/buildfiles/osx/Xonotic.app/Contents/MacOS/xonotic-osx-sdl @@ -7,8 +7,8 @@ export DYLD_LIBRARY_PATH="${0%/*}" set -- "$0"-bin "$@" -notexturenonpoweroftwo case "`sw_vers -productVersion`" in - # OSX Lion has problems with SDL and running fullscreen, hence we force windowed mode - 10.7.[0-9]*) + # OSX Lion up to 10.7.2 has problems with SDL and running fullscreen, hence we force windowed mode + 10.7.[0-2]) exec "$@" +vid_fullscreen 0 ;; # shell pattern for "10.6 and higher"