Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

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

#ifndef GL_VERSION_1_5
/* GL types for handling large vertex buffer objects */
#if defined(__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 bfcac24

Please sign in to comment.