Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Apple uses a void* for GLhandleARB, not an unsigned int.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 4, 2011
1 parent 9cd6dd4 commit 878e689
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -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
Expand Down

0 comments on commit 878e689

Please sign in to comment.