debug_utils: Remove unneeded instance
from submit_debug_utils_message
This commit is contained in:
parent
0b343b71a6
commit
f628ef1646
|
@ -131,13 +131,12 @@ impl DebugUtils {
|
||||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSubmitDebugUtilsMessageEXT.html>"]
|
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSubmitDebugUtilsMessageEXT.html>"]
|
||||||
pub unsafe fn submit_debug_utils_message(
|
pub unsafe fn submit_debug_utils_message(
|
||||||
&self,
|
&self,
|
||||||
instance: vk::Instance,
|
|
||||||
message_severity: vk::DebugUtilsMessageSeverityFlagsEXT,
|
message_severity: vk::DebugUtilsMessageSeverityFlagsEXT,
|
||||||
message_types: vk::DebugUtilsMessageTypeFlagsEXT,
|
message_types: vk::DebugUtilsMessageTypeFlagsEXT,
|
||||||
callback_data: &vk::DebugUtilsMessengerCallbackDataEXT,
|
callback_data: &vk::DebugUtilsMessengerCallbackDataEXT,
|
||||||
) {
|
) {
|
||||||
self.debug_utils_fn.submit_debug_utils_message_ext(
|
self.debug_utils_fn.submit_debug_utils_message_ext(
|
||||||
instance,
|
self.handle,
|
||||||
message_severity,
|
message_severity,
|
||||||
message_types,
|
message_types,
|
||||||
callback_data,
|
callback_data,
|
||||||
|
|
Loading…
Reference in a new issue