mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
Compile SDL on older versions of Xcode
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user