diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index ec75a63b1..1ccad320d 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -3119,9 +3119,14 @@ typedef ptrdiff_t GLsizeiptr; #ifndef GL_ARB_vertex_buffer_object /* GL types for handling large vertex buffer objects */ +#ifdef __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 handling shader object handles and program/shader text */