Skip to content

Commit

Permalink
Fixed the Apple SDL_opengl.h conflict in the 1.2 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 26, 2011
1 parent ccde1ce commit a11a1ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -3108,9 +3108,14 @@ typedef char GLchar; /* native character */

#ifndef GL_VERSION_1_5
/* GL types for handling large vertex buffer objects */
#ifdef __APPLE__
typedef long GLintptr;
typedef long GLsizeiptr;
#else
typedef ptrdiff_t GLintptr;
typedef ptrdiff_t GLsizeiptr;
#endif
#endif

#ifndef GL_ARB_vertex_buffer_object
/* GL types for handling large vertex buffer objects */
Expand Down

0 comments on commit a11a1ca

Please sign in to comment.