mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 19:24:30 -05:00
Apple uses a void* for GLhandleARB, not an unsigned int.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user