From 3d3cb33e003a66fd78a9a74de1cc9dd1e69cf290 Mon Sep 17 00:00:00 2001 From: k4ss4n <128936199+k4ss4n@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:14:20 +0200 Subject: [PATCH] format debugdevice messages (#970) added "\n" to vulkan error and warning strings in debugUtilsMessengerCallback for better readability --- WickedEngine/wiGraphicsDevice_Vulkan.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WickedEngine/wiGraphicsDevice_Vulkan.cpp b/WickedEngine/wiGraphicsDevice_Vulkan.cpp index aaa553a17..4bd8e86ab 100644 --- a/WickedEngine/wiGraphicsDevice_Vulkan.cpp +++ b/WickedEngine/wiGraphicsDevice_Vulkan.cpp @@ -616,12 +616,14 @@ namespace vulkan_internal { ss += "[Vulkan Warning]: "; ss += callback_data->pMessage; + ss += "\n"; wi::helper::DebugOut(ss, wi::helper::DebugLevel::Warning); } else if (message_severity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { ss += "[Vulkan Error]: "; ss += callback_data->pMessage; + ss += "\n"; wi::helper::DebugOut(ss, wi::helper::DebugLevel::Error); }