Commit 77f25419 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Apple uses a void* for GLhandleARB, not an unsigned int.

parent 247346d5
...@@ -5118,8 +5118,12 @@ typedef ptrdiff_t GLsizeiptrARB; ...@@ -5118,8 +5118,12 @@ typedef ptrdiff_t GLsizeiptrARB;
#ifndef GL_ARB_shader_objects #ifndef GL_ARB_shader_objects
/* GL types for program/shader text and shader object handles */ /* GL types for program/shader text and shader object handles */
typedef char GLcharARB; typedef char GLcharARB;
#if defined(__APPLE__)
typedef void *GLhandleARB;
#else
typedef unsigned int GLhandleARB; typedef unsigned int GLhandleARB;
#endif #endif
#endif
/* GL type for "half" precision (s10e5) float data in host memory */ /* GL type for "half" precision (s10e5) float data in host memory */
#ifndef GL_ARB_half_float_pixel #ifndef GL_ARB_half_float_pixel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment