Commit 57b0ccd1 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

meson: simplify dri3 logic

Signed-off-by: default avatarEric Engestrom <>
Reviewed-by: default avatarDylan Baker <>
parent 513c2263
......@@ -353,15 +353,9 @@ endif
with_dri2 = (with_dri or with_any_vk) and with_dri_platform == 'drm'
with_dri3 = get_option('dri3')
if with_dri3 == 'auto'
if system_has_kms_drm and with_dri2
with_dri3 = true
with_dri3 = false
elif with_dri3 == 'true'
with_dri3 = true
with_dri3 = system_has_kms_drm and with_dri2
with_dri3 = false
with_dri3 = with_dri3 == 'true'
if with_any_vk and (with_platform_x11 and not with_dri3)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment