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:
parent
2c3593b51e
commit
289425f6bd
2 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue