winevulkan: Fix vkDestroyDebugUtilsMessengerEXT with NULL object.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c66e0e5723
commit
ffd58f6275
|
@ -1940,6 +1940,9 @@ void WINAPI wine_vkDestroyDebugUtilsMessengerEXT(
|
|||
|
||||
object = wine_debug_utils_messenger_from_handle(messenger);
|
||||
|
||||
if (!object)
|
||||
return;
|
||||
|
||||
instance->funcs.p_vkDestroyDebugUtilsMessengerEXT(instance->instance, object->debug_messenger, NULL);
|
||||
WINE_VK_REMOVE_HANDLE_MAPPING(instance, object);
|
||||
|
||||
|
|
Loading…
Reference in New Issue