summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-30 01:13:37 +0100
committerwm4 <wm4@nowhere>2019-11-30 01:13:37 +0100
commitcb7048700fed5d123e93b95767b4557a6e04353d (patch)
treeae88a00fd54d4e938af2cb2e8b39494d4407e9af
parent0e376150a69c84220bed7f4d6a2a7525c888b09e (diff)
downloadmpv-cb7048700fed5d123e93b95767b4557a6e04353d.tar.bz2
mpv-cb7048700fed5d123e93b95767b4557a6e04353d.tar.xz
filters: fix incorrect #if for vf_gpu
This didn't match what is in wscript_build.py. Also, it should work on non-X11 platforms... probably. (The condition is convoluted and almost nonsensical, but the offscreen context creation needs to be cleaned up anyway as soon as other backends, e.g. for win32, are added.)
-rw-r--r--filters/user_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/user_filters.c b/filters/user_filters.c
index 9db8662d39..69017b7b5a 100644
--- a/filters/user_filters.c
+++ b/filters/user_filters.c
@@ -85,7 +85,7 @@ const struct mp_user_filter_entry *vf_list[] = {
#if HAVE_D3D_HWACCEL
&vf_d3d11vpp,
#endif
-#if HAVE_EGL_X11
+#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL15
&vf_gpu,
#endif
};