mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-10 11:02:11 +00:00
Windows debug builds: Only break on Vulkan validation warnings if a debugger is attached.
This commit is contained in:
parent
c55aa834b0
commit
fd4ef48971
@ -134,7 +134,7 @@ static VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugRep
|
||||
std::string msg = message.str();
|
||||
OutputDebugStringA(msg.c_str());
|
||||
if (msgFlags & VK_DEBUG_REPORT_ERROR_BIT_EXT) {
|
||||
if (options->breakOnError) {
|
||||
if (options->breakOnError && IsDebuggerPresent()) {
|
||||
DebugBreak();
|
||||
}
|
||||
if (options->msgBoxOnError) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user