diff --git a/destrum/include/destrum/App.h b/destrum/include/destrum/App.h index a6c0ef4..ff3c73a 100644 --- a/destrum/include/destrum/App.h +++ b/destrum/include/destrum/App.h @@ -23,6 +23,7 @@ public: std::string appName{"Destrum App"}; std::string windowTitle; std::filesystem::path exeDir; + bool showDebugUi{true}; }; App(); diff --git a/destrum/src/App.cpp b/destrum/src/App.cpp index d6d976d..e084695 100644 --- a/destrum/src/App.cpp +++ b/destrum/src/App.cpp @@ -192,6 +192,7 @@ void App::run() customUpdate(dt); } + if (m_params.showDebugUi) { ZoneScopedN("Debug ImGui"); SceneManager::GetInstance().RenderImgui();