Fixed another Apple typedef in SDL_opengl.h. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 02 Sep 2011 13:55:31 -0400
branchSDL-1.2
changeset 5864f31019514269
parent 5862 c4abd59c8976
child 5867 94e0116059f4
Fixed another Apple typedef in SDL_opengl.h.
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Thu Sep 01 23:52:09 2011 +0200
     1.2 +++ b/include/SDL_opengl.h	Fri Sep 02 13:55:31 2011 -0400
     1.3 @@ -3119,9 +3119,14 @@
     1.4  
     1.5  #ifndef GL_ARB_vertex_buffer_object
     1.6  /* GL types for handling large vertex buffer objects */
     1.7 +#ifdef __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 handling shader object handles and program/shader text */