Skip to content

Commit

Permalink
If IMGUI_BUNDLE_PYTHON_API, IniFilename as string
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 26, 2023
1 parent 07331a1 commit 0b5027f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hello_imgui/internal/backend_impls/abstract_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,12 @@ void AbstractRunner::Setup()
ImGui::CreateContext();
#endif


#ifndef IMGUI_BUNDLE_PYTHON_API
ImGui::GetIO().IniFilename = NULL;
#else
ImGui::GetIO().IniFilename = "";
#endif

Impl_SetupImgGuiContext();
params.callbacks.SetupImGuiConfig();
Expand Down

0 comments on commit 0b5027f

Please sign in to comment.