diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index c0db8263f..61f3c5c4b 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -5118,8 +5118,12 @@ typedef ptrdiff_t GLsizeiptrARB; #ifndef GL_ARB_shader_objects /* GL types for program/shader text and shader object handles */ typedef char GLcharARB; +#if defined(__APPLE__) +typedef void *GLhandleARB; +#else typedef unsigned int GLhandleARB; #endif +#endif /* GL type for "half" precision (s10e5) float data in host memory */ #ifndef GL_ARB_half_float_pixel