mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +00:00
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.
This commit is contained in:
parent
3d38dff076
commit
aeaf4a4388
1 changed files with 1 additions and 0 deletions
|
@ -861,6 +861,7 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLU" = "xyes" -a "x$HAVE_GLES2" = "xyes"
|
||||||
fi
|
fi
|
||||||
AC_MSG_WARN([Disabling Desktop GL support])
|
AC_MSG_WARN([Disabling Desktop GL support])
|
||||||
HAVE_GL=no
|
HAVE_GL=no
|
||||||
|
USE_OPENGL=no
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([Disabling GL|ES 2.0 support])
|
AC_MSG_WARN([Disabling GL|ES 2.0 support])
|
||||||
HAVE_GLES2=no
|
HAVE_GLES2=no
|
||||||
|
|
Loading…
Reference in a new issue