1 # MacOSX doesn't follow the official glext.h definition for GLhandleARB, and
2 # instead defines it as:
4 # typedef void *GLhandleARB;
6 # But to avoid integer to pointer conversion issues, we simply use 'unsigned
7 # long' which should be the same size on all supported architectures.
8 --- glext.h.orig 2012-03-05 11:00:02.000000000 +0000
9 +++ glext.h 2012-03-14 08:56:54.199519853 +0000
10 @@ -5484,8 +5484,12 @@
11 #ifndef GL_ARB_shader_objects
12 /* GL types for program/shader text and shader object handles */
13 typedef char GLcharARB;
15 +typedef unsigned long GLhandleARB;
17 typedef unsigned int GLhandleARB;
21 /* GL type for "half" precision (s10e5) float data in host memory */
22 #ifndef GL_ARB_half_float_pixel