1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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: