Skip to content
Permalink
Browse files

Fixed incorrect macro in fullscreen code.

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 1848ce17e97cb5ced03c7594851cf5ce483453a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/quartz/SDL_QuartzVideo.m
@@ -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;

0 comments on commit 1848ce1

Please sign in to comment.