From aeaf4a4388aaaf4eadcbf398664bd4a5d45d070a Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 25 Nov 2014 13:33:07 +1100 Subject: [PATCH] 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 6fb61fb9b1..58fa0904cf 100644 --- a/configure.ac +++ b/configure.ac @@ -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