From 878e689380b4d6b920896381b34774c83c5f75b3 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 4 Aug 2011 00:46:27 -0400 Subject: [PATCH] Apple uses a void* for GLhandleARB, not an unsigned int. --- include/SDL_opengl.h | 4 ++++ 1 file changed, 4 insertions(+) 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