mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Log validation errors normally as well as using OutputDebugString.
This commit is contained in:
parent
95a4cd37fc
commit
3607f0ab32
@ -75,14 +75,13 @@ VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
|
||||
DebugBreak();
|
||||
}
|
||||
}
|
||||
#else
|
||||
// TODO: Improve.
|
||||
#endif
|
||||
|
||||
if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
|
||||
ERROR_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
||||
} else {
|
||||
WARN_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
||||
}
|
||||
#endif
|
||||
|
||||
// false indicates that layer should not bail-out of an
|
||||
// API call that had validation failures. This may mean that the
|
||||
|
Loading…
Reference in New Issue
Block a user