diff options
author | Christian König <[email protected]> | 2016-01-20 16:19:08 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-03-08 13:00:04 +0100 |
commit | 37402aa4c6216eec5f60ebef8a8f24fcbd61f646 (patch) | |
tree | 1b9445279ac570b084ae9c932a56553e65a66ab5 /configure.ac | |
parent | e148a3b6e9e5c5cd941b70edb67e82058a8187a5 (diff) |
st/mesa: conditionally enable GL_NV_vdpau_interop
Only enable it when we compile the state tracker as well.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3b7703088fb..49be14709df 100644 --- a/configure.ac +++ b/configure.ac @@ -1735,6 +1735,7 @@ AM_CONDITIONAL(HAVE_ST_XVMC, test "x$enable_xvmc" = xyes) if test "x$enable_vdpau" = xyes; then PKG_CHECK_MODULES([VDPAU], [vdpau >= $VDPAU_REQUIRED]) gallium_st="$gallium_st vdpau" + DEFINES="$DEFINES -DHAVE_ST_VDPAU" fi AM_CONDITIONAL(HAVE_ST_VDPAU, test "x$enable_vdpau" = xyes) |