winewayland: Remove now unnecessary vulkan function name mapping.
This commit is contained in:
parent
684d51cebb
commit
6f122f48d3
1 changed files with 0 additions and 20 deletions
|
@ -189,16 +189,6 @@ static VkResult wine_vk_instance_convert_create_info(const VkInstanceCreateInfo
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static const char *wine_vk_host_fn_name(const char *name)
|
||||
{
|
||||
if (!strcmp(name, "vkCreateWin32SurfaceKHR"))
|
||||
return "vkCreateWaylandSurfaceKHR";
|
||||
if (!strcmp(name, "vkGetPhysicalDeviceWin32PresentationSupportKHR"))
|
||||
return "vkGetPhysicalDeviceWaylandPresentationSupportKHR";
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
static void vk_result_update_out_of_date(VkResult *res)
|
||||
{
|
||||
/* If the current result is less severe than out_of_date, which for
|
||||
|
@ -504,11 +494,6 @@ static void *wayland_vkGetDeviceProcAddr(VkDevice device, const char *name)
|
|||
|
||||
TRACE("%p, %s\n", device, debugstr_a(name));
|
||||
|
||||
/* Do not return the driver function if the corresponding host function
|
||||
* is not available. */
|
||||
if (!pvkGetDeviceProcAddr(device, wine_vk_host_fn_name(name)))
|
||||
return NULL;
|
||||
|
||||
if ((proc_addr = get_vulkan_driver_device_proc_addr(&vulkan_funcs, name)))
|
||||
return proc_addr;
|
||||
|
||||
|
@ -521,11 +506,6 @@ static void *wayland_vkGetInstanceProcAddr(VkInstance instance, const char *name
|
|||
|
||||
TRACE("%p, %s\n", instance, debugstr_a(name));
|
||||
|
||||
/* Do not return the driver function if the corresponding host function
|
||||
* is not available. */
|
||||
if (!pvkGetInstanceProcAddr(instance, wine_vk_host_fn_name(name)))
|
||||
return NULL;
|
||||
|
||||
if ((proc_addr = get_vulkan_driver_instance_proc_addr(&vulkan_funcs, instance, name)))
|
||||
return proc_addr;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue