Преглед изворни кода

Do not create imgui.ini in the runtime dir.

Dario Manesku пре 10 година
родитељ
комит
5ee33930f6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      3rdparty/ocornut-imgui/imgui.cpp

+ 1 - 1
3rdparty/ocornut-imgui/imgui.cpp

@@ -1905,7 +1905,7 @@ void ImGui::NewFrame()
     g.CurrentWindowStack.resize(0);
 
     // Create implicit window - we will only render it if the user has added something to it.
-    ImGui::Begin("Debug", NULL, ImVec2(400,400));
+    ImGui::Begin("Debug", NULL, ImVec2(400,400), -1.0f, ImGuiWindowFlags_NoSavedSettings);
 }
 
 // NB: behaviour of ImGui after Shutdown() is not tested/guaranteed at the moment. This function is merely here to free heap allocations.