|
|
@ -24,6 +24,9 @@ |
|
|
|
//
|
|
|
|
//
|
|
|
|
//========================================================================
|
|
|
|
//========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NOTE: Many Cocoa enum values have been renamed and we need to build across
|
|
|
|
|
|
|
|
// SDK versions where one is unavailable or the other deprecated
|
|
|
|
|
|
|
|
// We use the newer names in code and these macros to handle compatibility
|
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101400 |
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101400 |
|
|
|
#define NSOpenGLContextParameterSwapInterval NSOpenGLCPSwapInterval |
|
|
|
#define NSOpenGLContextParameterSwapInterval NSOpenGLCPSwapInterval |
|
|
|
#define NSOpenGLContextParameterSurfaceOpacity NSOpenGLCPSurfaceOpacity |
|
|
|
#define NSOpenGLContextParameterSurfaceOpacity NSOpenGLCPSurfaceOpacity |
|
|
|