diff --git a/src/engine/src/Game.cpp b/src/engine/src/Game.cpp index dbd1014..0f3492f 100644 --- a/src/engine/src/Game.cpp +++ b/src/engine/src/Game.cpp @@ -68,8 +68,10 @@ Game::Game() { } Game::~Game() { sgCloseDebugLogFile(); +#ifdef imgui ImGuiIO &io = ImGui::GetIO(); - SDL_free((void*)io.IniFilename); + SDL_free((void *)io.IniFilename); +#endif } void Game::Initialize() { char *jsonPath = NULL;