Commit c5675ec6 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winevulkan: Fix vkEnumerateInstanceExtensionProperties() behavior when no Vulkan driver is present.

parent 4fd45333
......@@ -793,7 +793,10 @@ VkResult WINAPI wine_vkEnumerateInstanceExtensionProperties(const char *layer_na
wine_vk_init_once();
if (!vk_funcs)
return VK_ERROR_INITIALIZATION_FAILED;
{
*count = 0;
return VK_SUCCESS;
}
res = vk_funcs->p_vkEnumerateInstanceExtensionProperties(NULL, &num_host_properties, NULL);
if (res != VK_SUCCESS)
......
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