Skip to content

Commit

Permalink
Fixed incorrect macro in fullscreen code.
Browse files Browse the repository at this point in the history
Fixes OpenGL not rendering on pre-10.7 Mac OS X when built with the 10.7 SDK.
  • Loading branch information
icculus committed Dec 2, 2011
1 parent 1c2d092 commit 1848ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/quartz/SDL_QuartzVideo.m
Expand Up @@ -834,7 +834,7 @@ other blitting while waiting on the VBL (and hence results in higher framerates)

/* 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;
Expand Down

0 comments on commit 1848ce1

Please sign in to comment.