Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

  • Loading branch information
icculus committed Aug 4, 2011
1 parent 9cd6dd4 commit 878e689380b4d6b920896381b34774c83c5f75b3
Showing with 4 additions and 0 deletions.
  1. +4 −0 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

0 comments on commit 878e689

Please sign in to comment.