1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Minor profiler fixes.

This commit is contained in:
Lars
2020-12-20 19:22:04 -08:00
committed by lhofhansl
parent 2c3593b51e
commit 289425f6bd
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ ScopeProfiler::~ScopeProfiler()
return;
float duration_ms = m_timer->stop(true);
float duration = duration_ms / 1000.0;
float duration = duration_ms;
if (m_profiler) {
switch (m_type) {
case SPT_ADD: