summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-29 17:25:30 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:31 +0100
commita0d5862d99186f317a0f7364e8b6cd3cfeccfdf1 (patch)
tree7bf54f8141c513650130e8d3cc6bd8ce3f71b1fe /src/RendererWorld.cpp
parent2017-08-27 (diff)
downloadAltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.gz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.bz2
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.lz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.xz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.zst
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.zip
Diffstat (limited to 'src/RendererWorld.cpp')
-rw-r--r--src/RendererWorld.cpp4
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();
}