changeset 932:66761191fc11

Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 20 Aug 2004 22:32:05 +0000
parents abe872771687
children 4272450dd8d0
files include/SDL_opengl.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_opengl.h	Fri Aug 20 19:42:44 2004 +0000
+++ b/include/SDL_opengl.h	Fri Aug 20 22:32:05 2004 +0000
@@ -34,19 +34,19 @@
 #endif
 #include <windows.h>
 #endif
+#ifndef NO_SDL_GLEXT
+#define __glext_h_  /* Don't let gl.h include glext.h */
+#endif
 #if defined(__APPLE__) && defined(__MACH__)
 #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
 #include <OpenGL/glu.h>	/* Header File For The GLU Library */
 #else
-#ifndef NO_SDL_GLEXT
-#define __glext_h_  /* Don't let gl.h include glext.h */
-#endif
 #include <GL/gl.h>	/* Header File For The OpenGL Library */
 #include <GL/glu.h>	/* Header File For The GLU Library */
+#endif
 #ifndef NO_SDL_GLEXT
 #undef __glext_h_
 #endif
-#endif
 
 /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
    It is included here because glext.h is not available on some systems.