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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user