summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-16 00:37:18 +0100
committerwm4 <wm4@nowhere>2019-12-16 00:37:18 +0100
commit31eb2f9f33b05060e5f63b3d53188814f8a30f32 (patch)
tree23a2ff2424d92e14380b99a4100a0bb0da1427f3 /wscript_build.py
parente1586585b4c54b1f76379728e4f1478b2fd5b3ce (diff)
downloadmpv-31eb2f9f33b05060e5f63b3d53188814f8a30f32.tar.bz2
mpv-31eb2f9f33b05060e5f63b3d53188814f8a30f32.tar.xz
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.)
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 4c34d94c45..b1cba334da 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -416,7 +416,7 @@ def build(ctx):
( "video/filter/vf_d3d11vpp.c", "d3d-hwaccel" ),
( "video/filter/vf_fingerprint.c", "zimg" ),
( "video/filter/vf_format.c" ),
- ( "video/filter/vf_gpu.c", "egl-helpers && gl && egl15" ),
+ ( "video/filter/vf_gpu.c", "egl-helpers && gl && egl" ),
( "video/filter/vf_sub.c" ),
( "video/filter/vf_vapoursynth.c", "vapoursynth" ),
( "video/filter/vf_vavpp.c", "vaapi" ),