]> git.cworth.org Git - apitrace/blobdiff - glimports.hpp
Use Cocoa on Mac OS X.
[apitrace] / glimports.hpp
index caa3a4e9c20ac2c6d1362b219ac0de8d39c4497e..7235d6241a698609175a937dc4564e8f100967f0 100644 (file)
@@ -107,6 +107,12 @@ typedef struct _WGLSWAP
 #include <OpenGL/CGLIOSurface.h>
 #include <OpenGL/CGLDevice.h>
 
+#ifndef CGL_VERSION_1_3
+#define kCGLPFAOpenGLProfile 99
+#define kCGLOGLPVersion_Legacy 0x1000
+#define kCGLOGLPVersion_3_2_Core 0x3200
+#endif
+
 extern "C" {
 
 // From http://www.opensource.apple.com/source/gdb/gdb-954/libcheckpoint/cpcg.c