diff options
Diffstat (limited to 'make/stub_includes')
-rw-r--r-- | make/stub_includes/macosx/OpenGL/OpenGL.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/make/stub_includes/macosx/OpenGL/OpenGL.h b/make/stub_includes/macosx/OpenGL/OpenGL.h index e6f3030ad..1a3ddf203 100644 --- a/make/stub_includes/macosx/OpenGL/OpenGL.h +++ b/make/stub_includes/macosx/OpenGL/OpenGL.h @@ -45,10 +45,20 @@ typedef enum _CGLPixelFormatAttribute { kCGLPFACompliant = 83, /* renderer is opengl compliant */ kCGLPFADisplayMask = 84, /* mask limiting supported displays */ kCGLPFAPBuffer = 90, /* can be used to render to a pbuffer */ - kCGLPFARemotePBuffer = 91, /* can be used to render offline to a pbuffer */ + kCGLPFARemotePBuffer = 91, /* can be used to render offline to a pbuffer */ + kCGLPFAAcceleratedCompute = 97, /* hardware accelerated */ + kCGLPFAOpenGLProfile = 99, /* OpenGL Profile */ kCGLPFAVirtualScreenCount = 128 /* number of virtual screens in this format */ } CGLPixelFormatAttribute; +/** + * OpenGL Profiles Values + */ +typedef enum _CGLOpenGLProfile { + kCGLOGLPVersion_Legacy = 0x1000, /* Legacy/Pre-OpenGL 3.0 */ + kCGLOGLPVersion_3_2_Core = 0x3200 /* OpenGL 3.2 Core */ +} CGLOpenGLProfile; + /* ** Error return values from CGLGetError. */ |