mirror of https://github.com/mpv-player/mpv
build: disable GLX
Nobody needs this anymore. If not too many people complain, we'll remove this completely. Many already consider X11 and OpenGL legacy, so we don't need TWO X11/OpenGL backends.
This commit is contained in:
parent
a7afc79d8f
commit
7831e52238
5
wscript
5
wscript
|
@ -526,12 +526,13 @@ video_output_features = [
|
||||||
cflags=['-DGL_SILENCE_DEPRECATION'])
|
cflags=['-DGL_SILENCE_DEPRECATION'])
|
||||||
} , {
|
} , {
|
||||||
'name': '--gl-x11',
|
'name': '--gl-x11',
|
||||||
'desc': 'OpenGL X11 Backend',
|
'desc': 'OpenGL X11/GLX (deprecated/legacy)',
|
||||||
'deps': 'x11',
|
'deps': 'x11',
|
||||||
'groups': [ 'gl' ],
|
'groups': [ 'gl' ],
|
||||||
'func': check_libs(['GL', 'GL Xdamage'],
|
'func': check_libs(['GL', 'GL Xdamage'],
|
||||||
check_cc(fragment=load_fragment('gl_x11.c'),
|
check_cc(fragment=load_fragment('gl_x11.c'),
|
||||||
use=['x11', 'libdl', 'pthreads']))
|
use=['x11', 'libdl', 'pthreads'])),
|
||||||
|
'default': 'disable',
|
||||||
}, {
|
}, {
|
||||||
'name': '--rpi',
|
'name': '--rpi',
|
||||||
'desc': 'Raspberry Pi support',
|
'desc': 'Raspberry Pi support',
|
||||||
|
|
Loading…
Reference in New Issue