summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/goxel/disable-imgui_ini.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/goxel/disable-imgui_ini.patch')
-rw-r--r--pkgs/applications/graphics/goxel/disable-imgui_ini.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/goxel/disable-imgui_ini.patch b/pkgs/applications/graphics/goxel/disable-imgui_ini.patch
new file mode 100644
index 000000000000..9427d45487d4
--- /dev/null
+++ b/pkgs/applications/graphics/goxel/disable-imgui_ini.patch
@@ -0,0 +1,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;