Skip to content
Permalink
Browse files

Apple uses a void* for GLhandleARB, not an unsigned int.

(transplanted from 68eb59d8baedbcfa99294f833611581860c37258)
  • Loading branch information
icculus committed Aug 4, 2011
1 parent b3a813e commit 35f3b0d46aed086e71d230165d9f4818dbe6ae5c
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/SDL_opengl.h
@@ -3121,8 +3121,12 @@ typedef ptrdiff_t GLsizeiptrARB;
#ifndef GL_ARB_shader_objects
/* GL types for handling shader object handles and program/shader text */
typedef char GLcharARB; /* native character */
#if defined(__APPLE__)
typedef void *GLhandleARB; /* shader object handle */
#else
typedef unsigned int GLhandleARB; /* shader object handle */
#endif
#endif

/* GL types for "half" precision (s10e5) float data in host memory */
#ifndef GL_ARB_half_float_pixel

0 comments on commit 35f3b0d

Please sign in to comment.