mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 10:14:13 +08:00
meson: avoid changing types for the dri3 option
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
76e8d61999
commit
248c593132
@ -371,11 +371,11 @@ if with_vulkan_icd_dir == ''
|
||||
endif
|
||||
|
||||
with_dri2 = (with_dri or with_any_vk) and with_dri_platform == 'drm'
|
||||
with_dri3 = get_option('dri3')
|
||||
if with_dri3 == 'auto'
|
||||
_dri3 = get_option('dri3')
|
||||
if _dri3 == 'auto'
|
||||
with_dri3 = system_has_kms_drm and with_dri2
|
||||
else
|
||||
with_dri3 = with_dri3 == 'true'
|
||||
with_dri3 = _dri3 == 'true'
|
||||
endif
|
||||
|
||||
if with_any_vk and (with_platform_x11 and not with_dri3)
|
||||
|
Loading…
Reference in New Issue
Block a user