winex11: Remove now unnecessary vulkan function name mapping.
This commit is contained in:
parent
f3d3b86668
commit
2b25f51e0d
1 changed files with 0 additions and 14 deletions
|
@ -433,24 +433,12 @@ static VkResult X11DRV_vkEnumerateInstanceExtensionProperties(const char *layer_
|
|||
return res;
|
||||
}
|
||||
|
||||
static const char *wine_vk_host_fn_name( const char *name )
|
||||
{
|
||||
if (!strcmp(name, "vkCreateWin32SurfaceKHR"))
|
||||
return "vkCreateXlibSurfaceKHR";
|
||||
if (!strcmp(name, "vkGetPhysicalDeviceWin32PresentationSupportKHR"))
|
||||
return "vkGetPhysicalDeviceXlibPresentationSupportKHR";
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
static void *X11DRV_vkGetDeviceProcAddr(VkDevice device, const char *name)
|
||||
{
|
||||
void *proc_addr;
|
||||
|
||||
TRACE("%p, %s\n", device, debugstr_a(name));
|
||||
|
||||
if (!pvkGetDeviceProcAddr( device, wine_vk_host_fn_name( name ) )) return NULL;
|
||||
|
||||
if ((proc_addr = X11DRV_get_vk_device_proc_addr(name)))
|
||||
return proc_addr;
|
||||
|
||||
|
@ -463,8 +451,6 @@ static void *X11DRV_vkGetInstanceProcAddr(VkInstance instance, const char *name)
|
|||
|
||||
TRACE("%p, %s\n", instance, debugstr_a(name));
|
||||
|
||||
if (!pvkGetInstanceProcAddr( instance, wine_vk_host_fn_name( name ) )) return NULL;
|
||||
|
||||
if ((proc_addr = X11DRV_get_vk_instance_proc_addr(instance, name)))
|
||||
return proc_addr;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue