mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 17:46:31 -05:00
Make sure to check for glu.h before enabling glX support. We don't
directly need GLU, but SDL_opengl.h tries to include it, and it shows that the workstation is misconfigured or incompletely configured if just this one header is missing. Fixes Bugzilla #336. --HG-- branch : SDL-1.2
This commit is contained in:
@@ -1550,6 +1550,7 @@ CheckOpenGLX11()
|
||||
AC_TRY_COMPILE([
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glx.h>
|
||||
#include <GL/glu.h>
|
||||
],[
|
||||
],[
|
||||
video_opengl=yes
|
||||
|
||||
Reference in New Issue
Block a user