include/SDL_opengl_glext.h
changeset 8825 0cb64df3fa28
parent 8807 20294e387cab
child 9091 ac980036d2fc
     1.1 --- a/include/SDL_opengl_glext.h	Wed Jun 04 12:55:18 2014 -0700
     1.2 +++ b/include/SDL_opengl_glext.h	Wed Jun 04 16:35:07 2014 -0700
     1.3 @@ -4135,8 +4135,13 @@
     1.4  
     1.5  #ifndef GL_ARB_vertex_buffer_object
     1.6  #define GL_ARB_vertex_buffer_object 1
     1.7 +#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
     1.8 +typedef long GLsizeiptrARB;
     1.9 +typedef long GLintptrARB;
    1.10 +#else
    1.11  typedef ptrdiff_t GLsizeiptrARB;
    1.12  typedef ptrdiff_t GLintptrARB;
    1.13 +#endif
    1.14  #define GL_BUFFER_SIZE_ARB                0x8764
    1.15  #define GL_BUFFER_USAGE_ARB               0x8765
    1.16  #define GL_ARRAY_BUFFER_ARB               0x8892