mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-17 08:48:12 +00:00
Fixed Mac OS X build
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user