src/video/cocoa/SDL_cocoaopengl.m
changeset 6952 d2e309e7f77c
parent 6885 700f1b25f77f
child 7037 3fedf1f25b94
equal deleted inserted replaced
6951:7833f01322b3 6952:d2e309e7f77c
    33 #include "SDL_opengl.h"
    33 #include "SDL_opengl.h"
    34 
    34 
    35 #define DEFAULT_OPENGL  "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
    35 #define DEFAULT_OPENGL  "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
    36 
    36 
    37 
    37 
    38 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
    38 #ifndef kCGLPFAOpenGLProfile
    39 #define kCGLPFAOpenGLProfile 99
    39 #define kCGLPFAOpenGLProfile 99
       
    40 #endif
       
    41 #ifndef kCGLOGLPVersion_Legacy
    40 #define kCGLOGLPVersion_Legacy 0x1000
    42 #define kCGLOGLPVersion_Legacy 0x1000
       
    43 #endif
       
    44 #ifndef kCGLOGLPVersion_3_2_Core
    41 #define kCGLOGLPVersion_3_2_Core 0x3200
    45 #define kCGLOGLPVersion_3_2_Core 0x3200
    42 #endif
    46 #endif
    43 
    47 
    44 
    48 
    45 int
    49 int