Fixed Mac OS X build

This commit is contained in:
Sam Lantinga 2014-06-04 16:35:07 -07:00
parent 0fc6294114
commit ec88cc536a
2 changed files with 5 additions and 4 deletions

View file

@ -4135,8 +4135,13 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
#ifndef GL_ARB_vertex_buffer_object
#define GL_ARB_vertex_buffer_object 1
#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
typedef long GLsizeiptrARB;
typedef long GLintptrARB;
#else
typedef ptrdiff_t GLsizeiptrARB;
typedef ptrdiff_t GLintptrARB;
#endif
#define GL_BUFFER_SIZE_ARB 0x8764
#define GL_BUFFER_USAGE_ARB 0x8765
#define GL_ARRAY_BUFFER_ARB 0x8892