summaryrefslogtreecommitdiff
path: root/dispatch
diff options
context:
space:
mode:
authorJeff Muizelaar <jmuizelaar@mozilla.com>2013-10-31 14:26:54 -0400
committerJosé Fonseca <jfonseca@vmware.com>2013-11-04 11:30:24 +0000
commit0227203a229e85f98a491c6b9480c0bc210f1dbb (patch)
tree9da96028a1bf5f106a69b8450251a54d673a395d /dispatch
parent4fa70c6bc3f92cf09a375d85cf89aab77c101f6b (diff)
Move kCGLPFABackingVolatile to < 10.8
kCGLPFABackingVolatile was added in 10.8 not 10.7
Diffstat (limited to 'dispatch')
-rw-r--r--dispatch/glimports.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dispatch/glimports.hpp b/dispatch/glimports.hpp
index 938c3745..a9134688 100644
--- a/dispatch/glimports.hpp
+++ b/dispatch/glimports.hpp
@@ -117,7 +117,6 @@ typedef struct __IOSurface *IOSurfaceRef;
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
#define kCGLPFATripleBuffer 3
-#define kCGLPFABackingVolatile 77
#define kCGLPFAOpenGLProfile 99
#define kCGLRPVideoMemoryMegabytes 131
#define kCGLRPTextureMemoryMegabytes 132
@@ -128,6 +127,7 @@ typedef struct __IOSurface *IOSurfaceRef;
#endif
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
+#define kCGLPFABackingVolatile 77
#define kCGLPFASupportsAutomaticGraphicsSwitching 101
#endif