diff options
author | Emil Velikov <[email protected]> | 2018-11-16 11:15:37 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-11-20 11:13:20 +0000 |
commit | 5bc509363b6dbc42af72668fe500b6aec988dbf0 (patch) | |
tree | d9bf7beec454f84cbc96e3892d640aebba776f7e /src/glx/SConscript | |
parent | 84445a86d192c0d7f07bc25a84080458de764149 (diff) |
glx: make xf86vidmode mandatory for direct rendering
Currently we detect the module and if missing, the glXGetMsc* API is
effectively a stub, always returning false.
This is what effectively has been happening with our meson build :-(
Thus users have no chance of using it - they cannot even distinguish
if the failure is due to a misconfigured build.
There's no reason for keeping xf86vidmode optional - it has been
available in all distributions for years.
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Fixes: a47c525f3281a2753180e "meson: build glx"
Diffstat (limited to 'src/glx/SConscript')
-rw-r--r-- | src/glx/SConscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/SConscript b/src/glx/SConscript index 7555fb0568c..ce25a1faa84 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -35,10 +35,7 @@ env.Prepend(LIBS = [ env.PkgUseModules('X11') env.PkgUseModules('XCB') env.PkgUseModules('DRM') - -if env['HAVE_XF86VIDMODE']: - env.Append(CPPDEFINES = ['XF86VIDMODE']) - env.PkgUseModules('XF86VIDMODE') +env.PkgUseModules('XF86VIDMODE') sources = [ 'clientattrib.c', |