X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glimports.hpp;h=d0dc0daa3e90b1230a19617707caabd17df4fe47;hb=b25c4b9fccc76976d633bc5b183a84553ab01998;hp=caa3a4e9c20ac2c6d1362b219ac0de8d39c4497e;hpb=3597b0bcc3b59488338eb98f458ec3b2e46de6d6;p=apitrace diff --git a/glimports.hpp b/glimports.hpp index caa3a4e..d0dc0da 100644 --- a/glimports.hpp +++ b/glimports.hpp @@ -107,6 +107,12 @@ typedef struct _WGLSWAP #include #include +#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 #include "glext/glxext.h" -/* Prevent collision with Trace::Bool */ +/* Prevent collision with trace::Bool */ #undef Bool #endif +#include "eglimports.hpp" + + #endif /* _GLIMPORTS_HPP_ */