diff options
Diffstat (limited to 'src/RendererWorld.cpp')
-rw-r--r-- | src/RendererWorld.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/RendererWorld.cpp b/src/RendererWorld.cpp index 7262583..c90e1fb 100644 --- a/src/RendererWorld.cpp +++ b/src/RendererWorld.cpp @@ -1,4 +1,5 @@ #include "RendererWorld.hpp" +#include "DebugInfo.hpp" void RendererWorld::WorkerFunction(size_t workerId) { EventListener tasksListener; @@ -357,4 +358,7 @@ void RendererWorld::Update(double timeToUpdate) { EventAgregator::PushEvent(EventType::UpdateSectionsRender, UpdateSectionsRenderData{}); timeSincePreviousUpdate = std::chrono::steady_clock::now(); } + + DebugInfo::readyRenderer = this->renderData.size(); + DebugInfo::renderSections = this->sections.size(); } |