Just some lint fixing

This commit is contained in:
Henrik Rydgård committed 2026-05-13 11:37:26 +02:00
1 parent a38c3ce09f
commit ed274c8a7e
4 files changed
+11 -9

No files matched your search

+2
View File
@@ -148,6 +148,8 @@ VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
OutputDebugStringA(msg.c_str());
if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
if (options->breakOnError && System_GetPropertyBool(SYSPROP_DEBUGGER_PRESENT)) {
// If you hit this, you have a vulkan validation error.
// Check the console or the Output window in Visual Studio, if you're using that.
DebugBreak();
}
if (options->msgBoxOnError) {