Pārlūkot izejas kodu

Do not create imgui.ini in the runtime dir.

Dario Manesku 10 gadi atpakaļ
vecāks
revīzija
5ee33930f6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
     g.CurrentWindowStack.resize(0);
 
 
     // Create implicit window - we will only render it if the user has added something to it.
     // 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.
 // NB: behaviour of ImGui after Shutdown() is not tested/guaranteed at the moment. This function is merely here to free heap allocations.