Jelajahi Sumber

Fixed unused function warning (#8130)

Michael Böhme 8 bulan lalu
induk
melakukan
57ab2b4226
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      imgui.cpp

+ 2 - 0
imgui.cpp

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