From 31eb2f9f33b05060e5f63b3d53188814f8a30f32 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Dec 2019 00:37:18 +0100 Subject: build: downgrade EGL requirement from 1.5 to 1.4 With the previous commit, there's no need for 1.5 anymore. And in fact, it's just too dangerous to rely on 1.5 because of all the EGL craziness. For example, you might get a 1.5 EGL system library, but a driver might still give you 1.4 at runtime. If you assume that you can call 1.5 functions, you will probably get random crashes in this case. What a cursed API. (The same problem exists with EGL 1.3, but fortunately nothing seems to use that anymore. We can just ignore that problem.) --- filters/user_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filters') diff --git a/filters/user_filters.c b/filters/user_filters.c index 7fb164490e..e9ccec507d 100644 --- a/filters/user_filters.c +++ b/filters/user_filters.c @@ -93,7 +93,7 @@ const struct mp_user_filter_entry *vf_list[] = { #if HAVE_D3D_HWACCEL &vf_d3d11vpp, #endif -#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL15 +#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL &vf_gpu, #endif }; -- cgit v1.2.3