winex11: Request VK_KHR_display in get_gpu_properties_from_vulkan().

Required by VK_EXT_direct_mode_display. VK_KHR_display in turn requires
VK_KHR_surface.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2021-07-08 10:36:50 +02:00 committed by Alexandre Julliard
parent dd25789fb2
commit 218f70b134
1 changed files with 2 additions and 0 deletions

View File

@ -625,6 +625,8 @@ static BOOL get_gpu_properties_from_vulkan( struct x11drv_gpu *gpu, const XRRPro
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME,
"VK_EXT_acquire_xlib_display",
"VK_EXT_direct_mode_display",
"VK_KHR_display",
VK_KHR_SURFACE_EXTENSION_NAME,
};
const struct vulkan_funcs *vulkan_funcs = get_vulkan_driver( WINE_VULKAN_DRIVER_VERSION );
VkResult (*pvkGetRandROutputDisplayEXT)( VkPhysicalDevice, Display *, RROutput, VkDisplayKHR * );