Commit 6642f38c authored by Sam Lantinga's avatar Sam Lantinga

SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is...

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
parent 0595ce74
...@@ -1573,7 +1573,6 @@ CheckOpenGLX11() ...@@ -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
......
...@@ -47,11 +47,9 @@ ...@@ -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_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment