summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-09-22 05:35:26 +0200
committerwm4 <wm4@nowhere>2017-09-22 05:35:26 +0200
commit2b5da4804cbd54ee780d5abddd17d83fbd2cddec (patch)
treed2215162aeb97570998a548a56c9e7d55c237d97 /wscript
parent2b855739d50ff924a8124bc61f72a375a88af06f (diff)
downloadmpv-2b5da4804cbd54ee780d5abddd17d83fbd2cddec.tar.bz2
mpv-2b5da4804cbd54ee780d5abddd17d83fbd2cddec.tar.xz
build: make vo_gpu + infrastructure non-optional
Also readd the the error message for when no GL backends are found (why was this removed?).
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 3 insertions, 8 deletions
diff --git a/wscript b/wscript
index a50dcfed69..c1162a041e 100644
--- a/wscript
+++ b/wscript
@@ -788,15 +788,10 @@ video_output_features = [
+ 'gl-win32 || gl-wayland || rpi || mali-fbdev || '
+ 'plain-gl',
'func': check_true,
- }, {
- 'name': '--gpu',
- 'desc': 'GPU-accelerated video output support',
- 'deps': 'gl',
- 'func': check_true,
'req': True,
- 'fmsg': "No GPU context found or enabled. Aborting. " +
- "If you really mean to compile without support for " +
- "`--vo=gpu`, then use --disable-gpu."
+ 'fmsg': "No OpenGL video output found or enabled. " +
+ "Aborting. If you really mean to compile without OpenGL " +
+ "video outputs use --disable-gl.",
}, {
'name': 'egl-helpers',
'desc': 'EGL helper functions',