Apple uses a void* for GLhandleARB, not an unsigned int.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 04 Aug 2011 00:46:27 -0400
changeset 558368eb59d8baed
parent 5582 1281a3f1f0a6
child 5584 9550c786ba3b
Apple uses a void* for GLhandleARB, not an unsigned int.
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Fri Jul 29 16:51:25 2011 -0400
     1.2 +++ b/include/SDL_opengl.h	Thu Aug 04 00:46:27 2011 -0400
     1.3 @@ -5118,8 +5118,12 @@
     1.4  #ifndef GL_ARB_shader_objects
     1.5  /* GL types for program/shader text and shader object handles */
     1.6  typedef char GLcharARB;
     1.7 +#if defined(__APPLE__)
     1.8 +typedef void *GLhandleARB;
     1.9 +#else
    1.10  typedef unsigned int GLhandleARB;
    1.11  #endif
    1.12 +#endif
    1.13  
    1.14  /* GL type for "half" precision (s10e5) float data in host memory */
    1.15  #ifndef GL_ARB_half_float_pixel