winevulkan: Enable vkGetDeviceProcAddr() quirk for idTech engine.

For DOOM VFR.

Based on a patch by Andrew Eikum.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-09-10 15:42:46 +02:00 committed by Alexandre Julliard
parent 3cad90e334
commit fcc10f3012
1 changed files with 1 additions and 3 deletions

View File

@ -760,9 +760,7 @@ VkResult WINAPI wine_vkCreateInstance(const VkInstanceCreateInfo *create_info,
app_info->engineVersion);
TRACE("API version %#x.\n", app_info->apiVersion);
if (app_info->pApplicationName
&& (!strcmp(app_info->pApplicationName, "DOOM")
|| !strcmp(app_info->pApplicationName, "Wolfenstein II The New Colossus")))
if (app_info->pEngineName && !strcmp(app_info->pEngineName, "idTech"))
object->quirks |= WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR;
}