Disable tracy mem allocs recording in Editor due to too big impact on profiler buffers usage

This commit is contained in:
Wojtek Figat
2021-07-05 14:59:27 +02:00
parent 347bd7346a
commit a84afc207e

View File

@@ -172,7 +172,7 @@ void PlatformBase::OnMemoryAlloc(void* ptr, uint64 size)
if (!ptr)
return;
#if TRACY_ENABLE
#if TRACY_ENABLE && !USE_EDITOR
// Track memory allocation in Tracy
//tracy::Profiler::MemAlloc(ptr, size, false);
tracy::Profiler::MemAllocCallstack(ptr, size, 12, false);