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:
parent
35c76699b1
commit
ce780575a1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue