wscript: make at least 1 OpenGL output mandatory

You have to explicitly disable it if you really want to compile without
it (like with libass).
This commit is contained in:
wm4 2016-05-01 20:15:53 +02:00
parent 3ff3749b7d
commit f54e555d27
1 changed files with 5 additions and 1 deletions

View File

@ -816,7 +816,11 @@ video_output_features = [
'desc': 'OpenGL video outputs',
'deps_any': [ 'gl-cocoa', 'gl-x11', 'egl-x11', 'egl-drm',
'gl-win32', 'gl-wayland', 'rpi', 'plain-gl' ],
'func': check_true
'func': check_true,
'req': True,
'fmsg': "Unable to find OpenGL header files for video output. " +
"Aborting. If you really mean to compile without OpenGL " +
"video outputs use --disable-gl."
}, {
'name': 'egl-helpers',
'desc': 'EGL helper functions',