v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM

This was somehow missed by me and during review.

Fixes fcfc4ddfcc: ("v3dv: Fix V3DV_HAS_SURFACE preprocessor condition")

Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14190>
This commit is contained in:
Roman Stratiienko
2021-12-14 11:53:33 +02:00
committed by Marge Bot
parent 2630c8f546
commit 2cbbfd23ce
+1 -1
View File
@@ -138,7 +138,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
.KHR_sampler_mirror_clamp_to_edge = true,
.KHR_storage_buffer_storage_class = true,
.KHR_uniform_buffer_standard_layout = true,
#ifdef V3DV_HAS_SURFACE
#ifdef V3DV_USE_WSI_PLATFORM
.KHR_swapchain = true,
.KHR_swapchain_mutable_format = true,
.KHR_incremental_present = true,