include/SDL_opengl.h
changeset 5863 ab97e8ce122a
parent 5647 022880331cac
child 5958 e1624f3b29b5
     1.1 --- a/include/SDL_opengl.h	Thu Sep 01 14:02:12 2011 -0400
     1.2 +++ b/include/SDL_opengl.h	Fri Sep 02 13:54:45 2011 -0400
     1.3 @@ -5116,9 +5116,14 @@
     1.4  
     1.5  #ifndef GL_ARB_vertex_buffer_object
     1.6  /* GL types for handling large vertex buffer objects */
     1.7 +#if defined(__APPLE__)
     1.8 +typedef long GLintptrARB;
     1.9 +typedef long GLsizeiptrARB;
    1.10 +#else
    1.11  typedef ptrdiff_t GLintptrARB;
    1.12  typedef ptrdiff_t GLsizeiptrARB;
    1.13  #endif
    1.14 +#endif
    1.15  
    1.16  #ifndef GL_ARB_shader_objects
    1.17  /* GL types for program/shader text and shader object handles */