[Mesa-dev] [RFC PATCH mesa 3/5] meson: avoid changing types for the dri3 option
Dylan Baker
dylan at pnwbakers.com
Sat Feb 24 00:44:27 UTC 2018
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Quoting Eric Engestrom (2018-02-23 10:08:46)
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> meson.build | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index 28d068742ff914a623f6..6c22601f9e8864f08e08 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -380,11 +380,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)
> --
> Cheers,
> Eric
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180223/e2f7d937/attachment.sig>
More information about the mesa-dev
mailing list