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
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jan 2011 22:55:51 -0800
changeset 50502add0d17180b
parent 5049 28003ba91f57
child 5051 a69e36365766
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
configure.in
include/SDL_opengl.h
     1.1 --- a/configure.in	Wed Jan 19 22:39:02 2011 -0800
     1.2 +++ b/configure.in	Wed Jan 19 22:55:51 2011 -0800
     1.3 @@ -1573,7 +1573,6 @@
     1.4          AC_TRY_COMPILE([
     1.5           #include <GL/gl.h>
     1.6           #include <GL/glx.h>
     1.7 -         #include <GL/glu.h>
     1.8          ],[
     1.9          ],[
    1.10          video_opengl=yes
     2.1 --- a/include/SDL_opengl.h	Wed Jan 19 22:39:02 2011 -0800
     2.2 +++ b/include/SDL_opengl.h	Wed Jan 19 22:55:51 2011 -0800
     2.3 @@ -47,11 +47,9 @@
     2.4  #endif
     2.5  #if defined(__MACOSX__)
     2.6  #include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
     2.7 -#include <OpenGL/glu.h>         /* Header File For The GLU Library */
     2.8  #define __X_GL_H
     2.9  #else
    2.10  #include <GL/gl.h>              /* Header File For The OpenGL Library */
    2.11 -#include <GL/glu.h>             /* Header File For The GLU Library */
    2.12  #endif
    2.13  #ifndef NO_SDL_GLEXT
    2.14  #undef __glext_h_