[UI] Disable saving of imgui INI file.
By default imgui saves an INI file named 'imgui.ini' to the current directory, which is undesired behavior. Until we can properly specify a full path to a good location, disable saving of the INI file.
This commit is contained in:
parent
bc8b629092
commit
43cef29c6d
|
@ -45,6 +45,11 @@ void ImGuiDrawer::Initialize() {
|
|||
|
||||
auto& io = ImGui::GetIO();
|
||||
|
||||
// TODO(gibbed): disable imgui.ini saving for now,
|
||||
// imgui assumes paths are char* so we can't throw a good path at it on
|
||||
// Windows.
|
||||
io.IniFilename = nullptr;
|
||||
|
||||
SetupFont();
|
||||
|
||||
io.DeltaTime = 1.0f / 60.0f;
|
||||
|
|
Loading…
Reference in New Issue