Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoamodes.m @ 4925:514f811a4887
Removed support for 10.3.9
Fixed building on Mac OS X 10.5
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Dec 2010 12:23:16 -0800 |
parents | 3d91e31fcf71 |
children | de89a6f73c06 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.m Wed Dec 01 12:22:29 2010 -0800 +++ b/src/video/cocoa/SDL_cocoamodes.m Wed Dec 01 12:23:16 2010 -0800 @@ -23,7 +23,7 @@ #include "SDL_cocoavideo.h" -#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 /* Add methods to get at private members of NSScreen. Since there is a bug in Apple's screen switching code @@ -290,7 +290,7 @@ [[NSApp mainWindow] makeKeyAndOrderFront: nil]; -#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 /* There is a bug in Cocoa where NSScreen doesn't synchronize with CGDirectDisplay, so the main screen's frame is wrong.