浏览代码

Fixed unused function warning (#8130)

Michael Böhme 10 月之前
父节点
当前提交
57ab2b4226
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      imgui.cpp

+ 2 - 0
imgui.cpp

@@ -1210,9 +1210,11 @@ static int              FindWindowFocusIndex(ImGuiWindow* window);
 // Error Checking and Debug Tools
 static void             ErrorCheckNewFrameSanityChecks();
 static void             ErrorCheckEndFrameSanityChecks();
+#ifndef IMGUI_DISABLE_DEBUG_TOOLS
 static void             UpdateDebugToolItemPicker();
 static void             UpdateDebugToolStackQueries();
 static void             UpdateDebugToolFlashStyleColor();
+#endif
 
 // Inputs
 static void             UpdateKeyboardInputs();