From f628ef1646c3dc4bd98608fe23dc5adc27b0b878 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Fri, 19 Nov 2021 11:20:56 +0100 Subject: [PATCH] debug_utils: Remove unneeded `instance` from submit_debug_utils_message --- ash/src/extensions/ext/debug_utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ash/src/extensions/ext/debug_utils.rs b/ash/src/extensions/ext/debug_utils.rs index 6b6dd09..1bb87d8 100755 --- a/ash/src/extensions/ext/debug_utils.rs +++ b/ash/src/extensions/ext/debug_utils.rs @@ -131,13 +131,12 @@ impl DebugUtils { #[doc = ""] pub unsafe fn submit_debug_utils_message( &self, - instance: vk::Instance, message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, message_types: vk::DebugUtilsMessageTypeFlagsEXT, callback_data: &vk::DebugUtilsMessengerCallbackDataEXT, ) { self.debug_utils_fn.submit_debug_utils_message_ext( - instance, + self.handle, message_severity, message_types, callback_data,