12 Mar
2024
12 Mar
'24
1:57 p.m.
Jacek Caban (@jacek) commented about dlls/winevulkan/vulkan.c:
if (!object) return;
- instance->funcs.p_vkDestroySurfaceKHR(instance->host_instance, object->driver_surface, NULL); remove_handle_mapping(instance, &object->wrapper_entry); - + instance->funcs.p_vkDestroySurfaceKHR(instance->host_instance, object->driver_surface, NULL);
Changes like that will make break unwrapping handles in debug callbacks from inside `vkDestroySurfaceKHR` (or similarly others), can we for some reason assume that they don't emit such callbacks? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5274#note_64416