Fixed Mac OS X build
This commit is contained in:
parent
0fc6294114
commit
ec88cc536a
2 changed files with 5 additions and 4 deletions
|
@ -50,11 +50,7 @@
|
|||
#define __glext_h_ /* Don't let gl.h include glext.h */
|
||||
#endif
|
||||
#if defined(__MACOSX__)
|
||||
#include <stddef.h> /* Needed for ptrdiff_t */
|
||||
/* Hack to prevent duplicate definition of GLsizeiptrARB and GLintptrARB in <OpenGL/gltypes.h> */
|
||||
#define GL_ARB_vertex_buffer_object 1
|
||||
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */
|
||||
#undef GL_ARB_vertex_buffer_object
|
||||
#define __X_GL_H
|
||||
#else
|
||||
#include <GL/gl.h> /* Header File For The OpenGL Library */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue