Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
authorSam Lantinga <slouken@libsdl.org>
Fri, 20 Aug 2004 22:32:05 +0000
changeset 93266761191fc11
parent 931 abe872771687
child 933 4272450dd8d0
Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Fri Aug 20 19:42:44 2004 +0000
     1.2 +++ b/include/SDL_opengl.h	Fri Aug 20 22:32:05 2004 +0000
     1.3 @@ -34,19 +34,19 @@
     1.4  #endif
     1.5  #include <windows.h>
     1.6  #endif
     1.7 +#ifndef NO_SDL_GLEXT
     1.8 +#define __glext_h_  /* Don't let gl.h include glext.h */
     1.9 +#endif
    1.10  #if defined(__APPLE__) && defined(__MACH__)
    1.11  #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    1.12  #include <OpenGL/glu.h>	/* Header File For The GLU Library */
    1.13  #else
    1.14 -#ifndef NO_SDL_GLEXT
    1.15 -#define __glext_h_  /* Don't let gl.h include glext.h */
    1.16 -#endif
    1.17  #include <GL/gl.h>	/* Header File For The OpenGL Library */
    1.18  #include <GL/glu.h>	/* Header File For The GLU Library */
    1.19 +#endif
    1.20  #ifndef NO_SDL_GLEXT
    1.21  #undef __glext_h_
    1.22  #endif
    1.23 -#endif
    1.24  
    1.25  /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
    1.26     It is included here because glext.h is not available on some systems.