From 40a2b505990b7d5ff977af46e3bc0b1ba64d5e50 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 26 Jan 2023 10:00:22 -0800 Subject: [PATCH] dzn: Fix Windows WSI This was a merge conflict from the Win32 WSI DXGI swapchain changes. I missed moving a new line of code that was added when rearranging things for using the common helpers. Fixes: cfa260cd ("dzn: Use common physical device list/enumeration helpers") Part-of: --- src/microsoft/vulkan/dzn_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c index 56440557caf..d6be48f7d0e 100644 --- a/src/microsoft/vulkan/dzn_device.c +++ b/src/microsoft/vulkan/dzn_device.c @@ -1138,6 +1138,9 @@ dzn_instance_create(const VkInstanceCreateInfo *pCreateInfo, vk_instance_dispatch_table_from_entrypoints(&dispatch_table, &dzn_instance_entrypoints, true); + vk_instance_dispatch_table_from_entrypoints(&dispatch_table, + &wsi_instance_entrypoints, + false); VkResult result = vk_instance_init(&instance->vk, &instance_extensions,