Commit 21ea26ab authored by Matthew Waters's avatar Matthew Waters 🐨

gl/win32: fix detection of GL/wglext.h

Was resulting in 'present but cannot be compiled' errors
parent 14e993e7
......@@ -717,7 +717,7 @@ case $host in
LIBS="$LIBS -lgdi32"
AG_GST_CHECK_LIBHEADER(GL, opengl32, glTexImage2D,, GL/gl.h)
AG_GST_CHECK_LIBHEADER(GLU, glu32, gluSphere,, GL/glu.h)
AC_CHECK_HEADER(GL/wglext.h, HAVE_WGLEXT="yes", HAVE_WGLEXT="no")
AC_CHECK_HEADER(GL/wglext.h, HAVE_WGLEXT="yes", HAVE_WGLEXT="no", [#include <GL/gl.h>])
if test "x$HAVE_WGLEXT" = "xyes"; then
HAVE_GL=yes
HAVE_GLU=yes
......
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