mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Apple uses a void* for GLhandleARB, not an unsigned int.
(transplanted from 68eb59d8baedbcfa99294f833611581860c37258) --HG-- branch : SDL-1.2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user