From 03047f3e7f2b083a157139f09b16baf150582db6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Sep 2012 08:42:04 +0000 Subject: [PATCH] From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility." --- include/osg/GL | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/osg/GL b/include/osg/GL index f4fe0fcfb..7a3c7aae1 100644 --- a/include/osg/GL +++ b/include/osg/GL @@ -106,7 +106,15 @@ #if defined(OSG_GL3_AVAILABLE) #define GL3_PROTOTYPES 1 - #include + #ifdef __APPLE__ + #include + #include + #define GLint64EXT GLint64 + #define GLuint64EXT GLuint64 + #define GL_BGRA_EXT GL_BGRA + #else + #include + #endif #else #ifndef __gl_h_