Fix profiler memory propagation

This commit is contained in:
Zode
2025-04-26 21:40:12 +03:00
committed by GitHub
parent f0bcc70563
commit 6fe6ba20fb

View File

@@ -492,7 +492,7 @@ namespace FlaxEditor.Windows.Profiler
{
break;
}
subEventsMemoryTotal += sub.ManagedMemoryAllocation + e.NativeMemoryAllocation;
subEventsMemoryTotal += sub.ManagedMemoryAllocation + sub.NativeMemoryAllocation;
}
string name = e.Name.Replace("::", ".");