include/SDL_opengl.h
changeset 932 66761191fc11
parent 843 748f441d7d9f
child 1205 2ab21d9a20da
     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.