Fixed incorrect macro in fullscreen code. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 02 Dec 2011 16:10:55 -0500
branchSDL-1.2
changeset 6133 a59b59cbe3d9
parent 6132 1d8211416a01
child 6134 d041dcb1951d
Fixed incorrect macro in fullscreen code. Fixes OpenGL not rendering on pre-10.7 Mac OS X when built with the 10.7 SDK.
src/video/quartz/SDL_QuartzVideo.m
--- a/src/video/quartz/SDL_QuartzVideo.m	Fri Dec 30 14:43:57 2011 -0500
+++ b/src/video/quartz/SDL_QuartzVideo.m	Fri Dec 02 16:10:55 2011 -0500
@@ -834,7 +834,7 @@
 
         /* Apparently Lion checks some version flag set by the linker
            and changes API behavior. Annoying. */
-#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1070)
+#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
         {
             CGLError err;
             CGLContextObj ctx;