From 74407e252c935744f4bb244a6d678853c031dc16 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 13 May 2019 08:38:34 +0200 Subject: [PATCH] =?UTF-8?q?ui:=20disable=20imgui=20ini=20file=20loading;?= =?UTF-8?q?=20some=20platforms=20don=E2=80=99t=20have=20fopen().?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/gui.cpp b/src/ui/gui.cpp index e10c1c7e..2c936b68 100644 --- a/src/ui/gui.cpp +++ b/src/ui/gui.cpp @@ -194,6 +194,9 @@ void gui::tick_game(float seconds) ImGuiIO& io = ImGui::GetIO(); + // Disable the ini file for now + io.IniFilename = nullptr; + // Init Texture if (!m_font) {