Fixed incorrect macro in fullscreen code.

Fixes OpenGL not rendering on pre-10.7 Mac OS X when built with the 10.7 SDK.

--HG--
branch : SDL-1.2
extra : rebase_source : 4d0a3d722217014a0f9d169846fc5db808577b5a
This commit is contained in:
Ryan C. Gordon 2011-12-02 16:10:55 -05:00
parent 35c76699b1
commit ce780575a1

View file

@ -834,7 +834,7 @@ static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int widt
/* 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;