include/SDL_opengl.h
branchSDL-1.2
changeset 5626 5d3431bad5c7
parent 4231 2d5c44f1be14
child 5648 0d28cf898765
     1.1 --- a/include/SDL_opengl.h	Sun Aug 21 12:21:01 2011 -0400
     1.2 +++ b/include/SDL_opengl.h	Thu Aug 04 00:46:27 2011 -0400
     1.3 @@ -3121,8 +3121,12 @@
     1.4  #ifndef GL_ARB_shader_objects
     1.5  /* GL types for handling shader object handles and program/shader text */
     1.6  typedef char GLcharARB;		/* native character */
     1.7 +#if defined(__APPLE__)
     1.8 +typedef void *GLhandleARB;	/* shader object handle */
     1.9 +#else
    1.10  typedef unsigned int GLhandleARB;	/* shader object handle */
    1.11  #endif
    1.12 +#endif
    1.13  
    1.14  /* GL types for "half" precision (s10e5) float data in host memory */
    1.15  #ifndef GL_ARB_half_float_pixel