From cbc641e89136098e0a9e79afe74b45203f828587 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 24 Oct 2013 23:48:55 +0200 Subject: Bug 867 - OSX: Allow core >=4 if isMavericksOrLater; Use [kCGLOGLPVersion_GL4_Core, kCGLOGLPVersion_GL3_Core] for major==4 depending on sticky GLRendererQuirks.GL4NeedsGL3Request --- make/stub_includes/macosx/OpenGL/OpenGL.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make/stub_includes/macosx/OpenGL') 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; /* -- cgit v1.2.3