Mesa (master): meson: avoid changing types for the dri3 option
Eric Engeström
eric_engestrom at kemper.freedesktop.org
Tue Feb 27 11:23:55 UTC 2018
Module: Mesa
Branch: master
Commit: 248c593132b4465fe70545ceea1f560ca3c6d6df
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=248c593132b4465fe70545ceea1f560ca3c6d6df
Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date: Fri Feb 23 17:08:45 2018 +0000
meson: avoid changing types for the dri3 option
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 40e9c8ff45..308f64cf81 100644
--- a/meson.build
+++ b/meson.build
@@ -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)
More information about the mesa-commit
mailing list