Apple uses a void* for GLhandleARB, not an unsigned int.
(transplanted from 68eb59d8baedbcfa99294f833611581860c37258) --HG-- branch : SDL-1.2 extra : transplant_source : h%EBY%D8%BA%ED%BC%FA%99%29O%836%11X%18%60%C3rX
This commit is contained in:
parent
cacb18997b
commit
f5b4f003f4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue