stop writing imgui.ini
This commit is contained in:
parent
52123f27ac
commit
4a4939e65b
|
@ -342,6 +342,14 @@ class VulkanApp {
|
||||||
IMGUI_CHECKVERSION();
|
IMGUI_CHECKVERSION();
|
||||||
ImGui::CreateContext();
|
ImGui::CreateContext();
|
||||||
|
|
||||||
|
// Remember to use a reference here, otherwise
|
||||||
|
// the ImGui::GetIO() function will return a
|
||||||
|
// copy and the changes won't be saved.
|
||||||
|
ImGuiIO& imGuiIO = ImGui::GetIO();
|
||||||
|
|
||||||
|
// Disable writing imgui.ini
|
||||||
|
imGuiIO.IniFilename = nullptr;
|
||||||
|
|
||||||
// Setup Dear ImGui style
|
// Setup Dear ImGui style
|
||||||
ImGui::StyleColorsDark();
|
ImGui::StyleColorsDark();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue