comparison include/SDL_opengl.h @ 5050:2add0d17180b

SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jan 2011 22:55:51 -0800
parents ba79f17d68c1
children e8916fe9cfc8
comparison
equal deleted inserted replaced
5049:28003ba91f57 5050:2add0d17180b
45 #ifndef NO_SDL_GLEXT 45 #ifndef NO_SDL_GLEXT
46 #define __glext_h_ /* Don't let gl.h include glext.h */ 46 #define __glext_h_ /* Don't let gl.h include glext.h */
47 #endif 47 #endif
48 #if defined(__MACOSX__) 48 #if defined(__MACOSX__)
49 #include <OpenGL/gl.h> /* Header File For The OpenGL Library */ 49 #include <OpenGL/gl.h> /* Header File For The OpenGL Library */
50 #include <OpenGL/glu.h> /* Header File For The GLU Library */
51 #define __X_GL_H 50 #define __X_GL_H
52 #else 51 #else
53 #include <GL/gl.h> /* Header File For The OpenGL Library */ 52 #include <GL/gl.h> /* Header File For The OpenGL Library */
54 #include <GL/glu.h> /* Header File For The GLU Library */
55 #endif 53 #endif
56 #ifndef NO_SDL_GLEXT 54 #ifndef NO_SDL_GLEXT
57 #undef __glext_h_ 55 #undef __glext_h_
58 #endif 56 #endif
59 57