mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 08:18:50 -04:00
Prevent debug break when not debugging
This commit is contained in:
1 parent
02a101d1e8
commit
2c0118b2d7
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ static void do_log(enum log_type type, const char *msg, va_list args)
|
||||
OutputDebugStringA(bla);
|
||||
OutputDebugStringA("\n");
|
||||
|
||||
if (type >= LOG_WARNING)
|
||||
if (type >= LOG_WARNING && IsDebuggerPresent())
|
||||
__debugbreak();
|
||||
#else
|
||||
vprintf(msg, args);
|
||||
|
||||
Reference in new issue
Block a user