We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0750ee commit 4aeae5dCopy full SHA for 4aeae5d
imgui.cpp
@@ -10227,10 +10227,14 @@ static void ImGui::ErrorCheckEndFrameSanityChecks()
10227
// Default implementation of ImGuiErrorLogCallback that pipe errors to DebugLog: appears in tty + Tools->DebugLog
10228
void ImGui::ErrorLogCallbackToDebugLog(void*, const char* fmt, ...)
10229
{
10230
+#ifndef IMGUI_DISABLE_DEBUG_TOOLS
10231
va_list args;
10232
va_start(args, fmt);
- ImGui::DebugLogV(fmt, args);
10233
+ DebugLogV(fmt, args);
10234
va_end(args);
10235
+#else
10236
+ IM_UNUSED(fmt);
10237
+#endif
10238
}
10239
10240
// Experimental recovery from incorrect usage of BeginXXX/EndXXX/PushXXX/PopXXX calls.
0 commit comments