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_