kCGLPFABackingVolatile was added in 10.8 not 10.7 --- diff --git a/dispatch/glimports.hpp b/dispatch/glimports.hpp index 938c374..a913468 100644 --- a/dispatch/glimports.hpp +++ b/dispatch/glimports.hpp @@ -112,27 +112,27 @@ typedef struct _WGLSWAP #define kCGLPFAAcceleratedCompute 97 #define kCGLRPAcceleratedCompute 130 typedef void *CGLShareGroupObj; typedef struct __IOSurface *IOSurfaceRef; #endif #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070 #define kCGLPFATripleBuffer 3 -#define kCGLPFABackingVolatile 77 #define kCGLPFAOpenGLProfile 99 #define kCGLRPVideoMemoryMegabytes 131 #define kCGLRPTextureMemoryMegabytes 132 #define kCGLCECrashOnRemovedFunctions 316 #define kCGLOGLPVersion_Legacy 0x1000 #define kCGLOGLPVersion_3_2_Core 0x3200 #define kCGLOGLPVersion_GL3_Core 0x3200 #endif #if MAC_OS_X_VERSION_MIN_REQUIRED < 1080 +#define kCGLPFABackingVolatile 77 #define kCGLPFASupportsAutomaticGraphicsSwitching 101 #endif #if MAC_OS_X_VERSION_MIN_REQUIRED < 1090 #define kCGLOGLPVersion_GL3_Core 0x3200 #define kCGLOGLPVersion_GL4_Core 0x4100 #define kCGLRPMajorGLVersion 133 #endif
_______________________________________________ apitrace mailing list apitrace@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/apitrace