From 93677ceb3f2b87c215205e8bf09b7abe0942d2bb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 2 Sep 2011 13:54:45 -0400 Subject: [PATCH] Fixed another Apple typedef in SDL_opengl.h --- include/SDL_opengl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index 0e5ed0fde..98237d97a 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 */