summary refs log tree commit diff
path: root/pkgs/applications/graphics/goxel/disable-imgui_ini.patch
blob: 9427d45487d4b50ffb8ac053c0f4a0e01294fc61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/gui.cpp b/src/gui.cpp
index 9b7236c..a8a11b2 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -314,6 +314,8 @@ static void init_ImGui(const inputs_t *inputs)
     ImGuiIO& io = ImGui::GetIO();
     io.DeltaTime = 1.0f/60.0f;

+    io.IniFilename = NULL;
+
     io.KeyMap[ImGuiKey_Tab]         = KEY_TAB;
     io.KeyMap[ImGuiKey_LeftArrow]   = KEY_LEFT;
     io.KeyMap[ImGuiKey_RightArrow]  = KEY_RIGHT;