mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
meson: Fix enabling of xshmfence.
I misspelled the enable flag, so DRI3 would throw BadImplementation
when you tried to start any GL app. Same as in
c7be7a688a, we also convert it to #ifdef
for consistency.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -62,7 +62,7 @@ conf_data.set('CONFIG_WSCONS', host_machine.system() == 'openbsd')
|
||||
# that just uses whatever directory works?
|
||||
conf_data.set_quoted('SHMDIR', '/tmp')
|
||||
|
||||
conf_data.set('XSHMFENCE', xshmfence_dep.found())
|
||||
conf_data.set('HAVE_XSHMFENCE', xshmfence_dep.found())
|
||||
conf_data.set('WITH_LIBDRM', libdrm_dep.found())
|
||||
conf_data.set('GLAMOR_HAS_DRM_NAME_FROM_FD_2',
|
||||
dependency('libdrm', version: '>= 2.4.74', required: false).found())
|
||||
|
||||
Reference in New Issue
Block a user