include/SDL_opengl.h
changeset 8812 b0f96c169c97
parent 8811 3f0b8a86c65b
child 8825 0cb64df3fa28
     1.1 --- a/include/SDL_opengl.h	Wed Jun 04 09:59:10 2014 -0700
     1.2 +++ b/include/SDL_opengl.h	Wed Jun 04 10:33:23 2014 -0700
     1.3 @@ -51,7 +51,10 @@
     1.4  #endif
     1.5  #if defined(__MACOSX__)
     1.6  #include <stddef.h>             /* Needed for ptrdiff_t */
     1.7 +/* Hack to prevent duplicate definition of GLsizeiptrARB and GLintptrARB in <OpenGL/gltypes.h> */
     1.8 +#define GL_ARB_vertex_buffer_object 1
     1.9  #include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
    1.10 +#undef GL_ARB_vertex_buffer_object
    1.11  #define __X_GL_H
    1.12  #else
    1.13  #include <GL/gl.h>              /* Header File For The OpenGL Library */