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

This commit is contained in:
Sam Lantinga 2011-01-19 22:55:51 -08:00
parent 0595ce74e3
commit 6642f38cf1
2 changed files with 0 additions and 3 deletions

View file

@ -1573,7 +1573,6 @@ CheckOpenGLX11()
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glx.h> #include <GL/glx.h>
#include <GL/glu.h>
],[ ],[
],[ ],[
video_opengl=yes video_opengl=yes

View file

@ -47,11 +47,9 @@
#endif #endif
#if defined(__MACOSX__) #if defined(__MACOSX__)
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */ #include <OpenGL/gl.h> /* Header File For The OpenGL Library */
#include <OpenGL/glu.h> /* Header File For The GLU Library */
#define __X_GL_H #define __X_GL_H
#else #else
#include <GL/gl.h> /* Header File For The OpenGL Library */ #include <GL/gl.h> /* Header File For The OpenGL Library */
#include <GL/glu.h> /* Header File For The GLU Library */
#endif #endif
#ifndef NO_SDL_GLEXT #ifndef NO_SDL_GLEXT
#undef __glext_h_ #undef __glext_h_