Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Compile SDL on older versions of Xcode

  • Loading branch information
slouken committed Mar 3, 2013
1 parent 000345d commit a7dbf88f0bf21b1293f5eed662d334343b9ad0e0
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/video/cocoa/SDL_cocoaopengl.m
@@ -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

0 comments on commit a7dbf88

Please sign in to comment.