diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index acc65214..e4e0c9cd 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -5,6 +5,7 @@ #include "imgui_impl_opengl3.h" #include #include +#include #include #include #include @@ -103,7 +104,8 @@ int main( int argc, char** argv ) IMGUI_CHECKVERSION(); ImGui::CreateContext(); ImGuiIO& io = ImGui::GetIO(); - io.IniFilename = tracy::GetSavePath( "imgui.ini" ); + std::string iniFileName = tracy::GetSavePath( "imgui.ini" ); + io.IniFilename = iniFileName.c_str(); io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; ImGui_ImplGlfw_InitForOpenGL( window, true );