mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
parent
b29fbc82c2
commit
9c0ec39770
8
deps/GL/glext.h
vendored
8
deps/GL/glext.h
vendored
|
@ -4135,8 +4135,16 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
|
|||
|
||||
#ifndef GL_ARB_vertex_buffer_object
|
||||
#define GL_ARB_vertex_buffer_object 1
|
||||
/* HACK: This is a workaround for gltypes.h on OS X 10.9 defining these types as
|
||||
* long instead of ptrdiff_t
|
||||
*/
|
||||
#if defined(__APPLE__)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user