summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2011-09-02 13:54:45 -0400
committerRyan C. Gordon <icculus@icculus.org>2011-09-02 13:54:45 -0400
commit86582dcc9c3fba5779729a95977b956c588c9a00 (patch)
tree023e0f8424642ef21d57985ed48eb17923207b9e /include
parent390f9e396a26a573b0e6b271babde25f406c9e0c (diff)
Fixed another Apple typedef in SDL_opengl.h
Diffstat (limited to 'include')
-rw-r--r--include/SDL_opengl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h
index 0e5ed0fd..98237d97 100644
--- a/include/SDL_opengl.h
+++ b/include/SDL_opengl.h
@@ -5116,9 +5116,14 @@ typedef ptrdiff_t GLsizeiptr;
#ifndef GL_ARB_vertex_buffer_object
/* GL types for handling large vertex buffer objects */
+#if defined(__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 program/shader text and shader object handles */