Commit fcc10f30 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

winevulkan: Enable vkGetDeviceProcAddr() quirk for idTech engine.

For DOOM VFR. Based on a patch by Andrew Eikum. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3cad90e3
...@@ -760,9 +760,7 @@ VkResult WINAPI wine_vkCreateInstance(const VkInstanceCreateInfo *create_info, ...@@ -760,9 +760,7 @@ VkResult WINAPI wine_vkCreateInstance(const VkInstanceCreateInfo *create_info,
app_info->engineVersion); app_info->engineVersion);
TRACE("API version %#x.\n", app_info->apiVersion); TRACE("API version %#x.\n", app_info->apiVersion);
if (app_info->pApplicationName if (app_info->pEngineName && !strcmp(app_info->pEngineName, "idTech"))
&& (!strcmp(app_info->pApplicationName, "DOOM")
|| !strcmp(app_info->pApplicationName, "Wolfenstein II The New Colossus")))
object->quirks |= WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR; object->quirks |= WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR;
} }
......
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