mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 15:01:49 +00:00
ImGuiEngine updates & use ImGui stdlib functions
This commit is contained in:
@@ -220,7 +220,6 @@ private:
|
||||
hecl::CVarCommons& m_cvarCommons;
|
||||
ImGuiConsole m_imGuiConsole;
|
||||
std::string m_errorString;
|
||||
std::string m_configPath;
|
||||
|
||||
boo::ObjToken<boo::ITextureR> m_renderTex;
|
||||
hecl::SystemString m_deferredProject;
|
||||
@@ -392,10 +391,8 @@ public:
|
||||
}
|
||||
}
|
||||
if (!m_imGuiInitialized) {
|
||||
ImGuiEngine::Initialize(gfxF, m_window.get(), scale);
|
||||
m_configPath = hecl::SystemUTF8Conv(m_fileMgr.getStoreRoot()).str();
|
||||
m_configPath += "/imgui.ini";
|
||||
ImGui::GetIO().IniFilename = m_configPath.c_str();
|
||||
hecl::SystemUTF8Conv configDir{m_fileMgr.getStoreRoot()};
|
||||
ImGuiEngine::Initialize(gfxF, m_window.get(), scale, configDir.str());
|
||||
m_imGuiInitialized = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user