Do not create imgui.ini
This commit is contained in:
parent
ef00bbcdd4
commit
54797a05f8
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
IMGUI_CHECKVERSION();
|
IMGUI_CHECKVERSION();
|
||||||
ImGui::CreateContext();
|
ImGui::CreateContext();
|
||||||
|
ImGuiIO &io = ImGui::GetIO();
|
||||||
|
io.IniFilename = NULL; // Disable `imgui.ini`
|
||||||
|
|
||||||
ImGui_ImplGlfw_InitForOpenGL(window, true);
|
ImGui_ImplGlfw_InitForOpenGL(window, true);
|
||||||
ImGui_ImplOpenGL3_Init(glsl_version);
|
ImGui_ImplOpenGL3_Init(glsl_version);
|
||||||
|
|
Loading…
Add table
Reference in a new issue