From c69ef9b659b2a0431b8e8b90a8b00391e5297ebb Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Fri, 17 Jan 2025 13:55:30 +0100 Subject: [PATCH] Adjust ordering Fixes #1176 --- base/VulkanDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/VulkanDebug.cpp b/base/VulkanDebug.cpp index a449c9d67..a1e1b5824 100644 --- a/base/VulkanDebug.cpp +++ b/base/VulkanDebug.cpp @@ -27,10 +27,10 @@ namespace vks std::string prefix; if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT) { + prefix = "VERBOSE: "; #if defined(_WIN32) prefix = "\033[32m" + prefix + "\033[0m"; #endif - prefix = "VERBOSE: "; } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT) { prefix = "INFO: ";