mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-10 05:18:13 +00:00
SDL_opengl: Fix Mac build for SDK 10.9 too.
This commit is contained in:
@@ -51,7 +51,10 @@
|
||||
#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