Skip to content

Commit

Permalink
Fixed another Apple typedef in SDL_opengl.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 2, 2011
1 parent aa642a8 commit b5769ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -3119,9 +3119,14 @@ typedef ptrdiff_t GLsizeiptr;

#ifndef GL_ARB_vertex_buffer_object
/* GL types for handling large vertex buffer objects */
#ifdef __APPLE__
typedef long GLintptrARB;
typedef long GLsizeiptrARB;
#else
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#endif
#endif

#ifndef GL_ARB_shader_objects
/* GL types for handling shader object handles and program/shader text */
Expand Down

0 comments on commit b5769ce

Please sign in to comment.