Jogamp
GLhandleARB set to void * on OS X, unsigned int everywhere else
authorWade Walker <wwalker3@austin.rr.com>
Sun, 5 Jul 2015 14:53:06 +0000 (09:53 -0500)
committerWade Walker <wwalker3@austin.rr.com>
Sun, 5 Jul 2015 14:53:06 +0000 (09:53 -0500)
commit5a5a23a533df0ec5f47f94a7bda901e703b25040
treed9559384062ef652fc995a457db920a81fa712df
parentac44201589e3567399be0036f0fa3f5b1613990e
GLhandleARB set to void * on OS X, unsigned int everywhere else

The OpenCL headers on OS X include gltypes.h, which defines
GLhandleARB as void *, but the stub headers gl3.h and glext.h
in JOCL were defining it as unsigned int. Put in a typedef
to match how Khronos fixes the problem. See
http://sourceforge.net/p/glew/bugs/206/,
https://bitbucket.org/alfonse/glloadgen/issue/33/mac-compilation-error,
https://www.opengl.org/registry/api/GL/glext.h, and
https://www.khronos.org/bugzilla/show_bug.cgi?id=762 for more
information.
make/stub_includes/GL3/gl3.h
make/stub_includes/GL3/glext.h
http://JogAmp.org git info: FAQ, tutorial and man pages.