mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Windows debug builds: Only break on Vulkan validation warnings if a debugger is attached.
This commit is contained in:
parent
c55aa834b0
commit
fd4ef48971
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue