aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/OpenGL
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-24 23:48:55 +0200
committerSven Gothel <[email protected]>2013-10-24 23:48:55 +0200
commitcbc641e89136098e0a9e79afe74b45203f828587 (patch)
tree5ed676b6f2b69e353773d60ff73499ed042adc83 /make/stub_includes/macosx/OpenGL
parent970c9823007d1618e67480440ff40e7802dbb90f (diff)
Bug 867 - OSX: Allow core >=4 if isMavericksOrLater; Use [kCGLOGLPVersion_GL4_Core, kCGLOGLPVersion_GL3_Core] for major==4 depending on sticky GLRendererQuirks.GL4NeedsGL3Request
Diffstat (limited to 'make/stub_includes/macosx/OpenGL')
-rw-r--r--make/stub_includes/macosx/OpenGL/OpenGL.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/macosx/OpenGL/OpenGL.h b/make/stub_includes/macosx/OpenGL/OpenGL.h
index 3347209b3..86d831191 100644
--- a/make/stub_includes/macosx/OpenGL/OpenGL.h
+++ b/make/stub_includes/macosx/OpenGL/OpenGL.h
@@ -59,7 +59,8 @@ typedef enum _CGLPixelFormatAttribute {
*/
typedef enum _CGLOpenGLProfile {
kCGLOGLPVersion_Legacy = 0x1000, /* Legacy/Pre-OpenGL 3.0 */
- kCGLOGLPVersion_3_2_Core = 0x3200 /* OpenGL 3.2 Core */
+ kCGLOGLPVersion_GL3_Core = 0x3200, /* OpenGL 3 Core */
+ kCGLOGLPVersion_GL4_Core = 0x4100 /* OpenGL 4 Core */
} CGLOpenGLProfile;
/*