]> git.cworth.org Git - apitrace/blobdiff - glimports.hpp
Parse doubles to a new Double class rather than to the Float class.
[apitrace] / glimports.hpp
index caa3a4e9c20ac2c6d1362b219ac0de8d39c4497e..d0dc0daa3e90b1230a19617707caabd17df4fe47 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
@@ -125,10 +131,13 @@ CGLError CGLUpdateContext(CGLContextObj ctx);
 #include <GL/glx.h>
 #include "glext/glxext.h"
 
-/* Prevent collision with Trace::Bool */
+/* Prevent collision with trace::Bool */
 #undef Bool
 
 #endif
 
 
+#include "eglimports.hpp"
+
+
 #endif /* _GLIMPORTS_HPP_ */