Mathias Fröhlich:
Detect whether we support pubuffers at runtime using the GLX extension string. Erik: Add support to compile TestRenderTexture if GLUT is installed.
This commit is contained in:
@@ -250,6 +250,9 @@ case "${host}" in
|
||||
|
||||
esac
|
||||
|
||||
AC_SEARCH_LIBS(glutGetModifiers, [ glut glut32 freeglut ], have_glut=yes, have_glut=no)
|
||||
AM_CONDITIONAL(HAVE_GLUT, test "x$have_glut" = "xyes")
|
||||
|
||||
opengl_LIBS="$LIBS"
|
||||
LIBS="$base_LIBS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user