Commit aeaf4a43 authored by Matthew Waters's avatar Matthew Waters 🐨

gl: fix automagic disabling of desktop GL

If configure finds GL + GLES2 but the user passes --enable-gles2 and
the two GL API's cannot be built against together, configure was still
allowing the desktop GL stack to be built.
parent 3d38dff0
......@@ -861,6 +861,7 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLU" = "xyes" -a "x$HAVE_GLES2" = "xyes"
fi
AC_MSG_WARN([Disabling Desktop GL support])
HAVE_GL=no
USE_OPENGL=no
else
AC_MSG_WARN([Disabling GL|ES 2.0 support])
HAVE_GLES2=no
......
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