winevulkan: Allow vkGetDeviceProcAddr to load instance functions for broken games.
commit76275505e0f05113b4be7851f2d877e1f1ee4cfc
authorRoderick Colenbrander <thunderbird2k@gmail.com>
Thu, 15 Mar 2018 09:26:32 +0000 (15 10:26 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 15 Mar 2018 11:21:35 +0000 (15 12:21 +0100)
tree2c31305aceafec684bf01833fd53f9c6a2962fb6
parent3fcec7cf7853bb60267bee324d0ef8a22eb5edf9
winevulkan: Allow vkGetDeviceProcAddr to load instance functions for broken games.

Doom and Wolfenstein II use vkGetDeviceProcAddr to load all their function pointers,
while they are supposed to use vkGetInstanceProcAddr for the instance ones.
For now we need to allow this broken behavior.

Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winevulkan/vulkan.c