Fix another Apple conflict in SDL_opengl.h

This commit is contained in:
Ryan C. Gordon
2011-08-26 03:38:46 -04:00
parent 1248146aa2
commit 586e5b252b

View File

@@ -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 */