include/SDL_opengl.h
changeset 5647 022880331cac
parent 5583 68eb59d8baed
child 5863 ab97e8ce122a
     1.1 --- a/include/SDL_opengl.h	Thu Aug 25 03:11:28 2011 -0400
     1.2 +++ b/include/SDL_opengl.h	Fri Aug 26 03:38:46 2011 -0400
     1.3 @@ -5105,9 +5105,14 @@
     1.4  
     1.5  #ifndef GL_VERSION_1_5
     1.6  /* GL types for handling large vertex buffer objects */
     1.7 +#if defined(__APPLE__)
     1.8 +typedef long GLintptr;
     1.9 +typedef long GLsizeiptr;
    1.10 +#else
    1.11  typedef ptrdiff_t GLintptr;
    1.12  typedef ptrdiff_t GLsizeiptr;
    1.13  #endif
    1.14 +#endif
    1.15  
    1.16  #ifndef GL_ARB_vertex_buffer_object
    1.17  /* GL types for handling large vertex buffer objects */