From 274659cdc3bd91e63ea4b7ef2f77338c234f59ad Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 7 Jul 2014 23:28:40 +0000 Subject: [PATCH] Fix compile issue on Mac OS X with GLhandleARB --- panda/src/glstuff/panda_glext.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/glstuff/panda_glext.h b/panda/src/glstuff/panda_glext.h index 4f5e724d1e..3af15892cd 100644 --- a/panda/src/glstuff/panda_glext.h +++ b/panda/src/glstuff/panda_glext.h @@ -5566,8 +5566,12 @@ typedef ptrdiff_t GLsizeiptrARB; #ifndef GL_ARB_shader_objects /* GL types for program/shader text and shader object handles */ typedef char GLcharARB; +#ifdef __APPLE__ +typedef void *GLhandleARB; +#else typedef unsigned int GLhandleARB; #endif +#endif /* GL type for "half" precision (s10e5) float data in host memory */ #ifndef GL_ARB_half_float_pixel