Преглед на файлове

Fix mismatched static declaration warning

ocornut преди 11 години
родител
ревизия
a3f32381c4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -1574,7 +1574,7 @@ static void RenderCollapseTriangle(ImVec2 p_min, bool open, float scale = 1.0f,
     window->DrawList->AddTriangleFilled(a, b, c, window->Color(ImGuiCol_Border));
 }
 
-static ImVec2 CalcTextSize(const char* text, const char* text_end, const bool hide_text_after_hash)
+ImVec2 CalcTextSize(const char* text, const char* text_end, const bool hide_text_after_hash)
 {
     ImGuiWindow* window = GetCurrentWindow();