summaryrefslogtreecommitdiffstats
path: root/video/out/gl_header_fixes.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_header_fixes.h')
-rw-r--r--video/out/gl_header_fixes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gl_header_fixes.h b/video/out/gl_header_fixes.h
index d149a9970a..41a3aabcd3 100644
--- a/video/out/gl_header_fixes.h
+++ b/video/out/gl_header_fixes.h
@@ -250,8 +250,11 @@
#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
#define GLX_CONTEXT_FLAGS_ARB 0x2094
#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
+#ifndef __APPLE__
+// These are respectively 0x00000001 and 0x00000002 on OSX
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
+#endif
#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
#endif