Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Compile SDL on older versions of Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 3, 2013
1 parent 000345d commit a7dbf88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/video/cocoa/SDL_cocoaopengl.m
Expand Up @@ -35,9 +35,13 @@
#define DEFAULT_OPENGL "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"


#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
#ifndef kCGLPFAOpenGLProfile
#define kCGLPFAOpenGLProfile 99
#endif
#ifndef kCGLOGLPVersion_Legacy
#define kCGLOGLPVersion_Legacy 0x1000
#endif
#ifndef kCGLOGLPVersion_3_2_Core
#define kCGLOGLPVersion_3_2_Core 0x3200
#endif

Expand Down

0 comments on commit a7dbf88

Please sign in to comment.