diff --git a/src/vulkan/wsi/wsi_common_metal.c b/src/vulkan/wsi/wsi_common_metal.c index 734f81bd048..b83d7e2af0d 100644 --- a/src/vulkan/wsi/wsi_common_metal.c +++ b/src/vulkan/wsi/wsi_common_metal.c @@ -55,6 +55,9 @@ wsi_metal_surface_get_capabilities(VkIcdSurfaceBase *surface, &caps->currentExtent.width, &caps->currentExtent.height); + if (!caps->currentExtent.width && !caps->currentExtent.height) + caps->currentExtent.width = caps->currentExtent.height = UINT32_MAX; + caps->minImageCount = 2; caps->maxImageCount = 3;