]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Fullscreen actually works on OSX these days, so don't enforce windowed mode for 10...
authormerlijn <mhofstra@gmail.com>
Thu, 8 Mar 2012 09:39:58 +0000 (10:39 +0100)
committermerlijn <mhofstra@gmail.com>
Thu, 8 Mar 2012 09:39:58 +0000 (10:39 +0100)
misc/buildfiles/osx/Xonotic.app/Contents/MacOS/xonotic-osx-sdl

index f5789e8e8d3e29caf094775df25773696aa2b47d..2155d9a9f6f8f39b531c17e29c86f2775199e789 100755 (executable)
@@ -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"