28 May
2024
28 May
'24
8:31 p.m.
Jacek Caban (@jacek) commented about dlls/winevulkan/vulkan.c:
if (!instance) return;
- vk_funcs->p_vkDestroyInstance(instance->host_instance, NULL /* allocator */); + p_vkDestroyInstance = vk_funcs->p_vkGetInstanceProcAddr(instance->host_instance, "vkDestroyInstance"); + p_vkDestroyInstance(instance->host_instance, NULL /* allocator */);
We could remove `vkDestroyInstance` from `FUNCTION_OVERRIDES` to make it dispatchable and then use `instance->funcs` here (and in the other place in the file). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5409#note_66395