mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 19:24:30 -05:00
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:
@@ -1573,7 +1573,6 @@ CheckOpenGLX11()
|
||||
AC_TRY_COMPILE([
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glx.h>
|
||||
#include <GL/glu.h>
|
||||
],[
|
||||
],[
|
||||
video_opengl=yes
|
||||
|
||||
@@ -47,11 +47,9 @@
|
||||
#endif
|
||||
#if defined(__MACOSX__)
|
||||
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */
|
||||
#include <OpenGL/glu.h> /* Header File For The GLU Library */
|
||||
#define __X_GL_H
|
||||
#else
|
||||
#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_
|
||||
|
||||
Reference in New Issue
Block a user