1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Save path is not persistent.

This commit is contained in:
Bartosz Taudul 2018-08-31 19:38:05 +02:00
parent 9da3364c77
commit bc886e4287

View File

@ -5,6 +5,7 @@
#include "imgui_impl_opengl3.h"
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <GL/gl3w.h>
#include <GLFW/glfw3.h>
#include <memory>
@ -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 );