Commit 4f1b297a authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

winevulkan: Fix vkDestroyDebugReportCallbackEXT with NULL object.

parent ffd58f62
......@@ -2045,6 +2045,9 @@ void WINAPI wine_vkDestroyDebugReportCallbackEXT(
object = wine_debug_report_callback_from_handle(callback);
if (!object)
return;
instance->funcs.p_vkDestroyDebugReportCallbackEXT(instance->instance, object->debug_callback, NULL);
WINE_VK_REMOVE_HANDLE_MAPPING(instance, object);
......
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