diff --git a/src/gpgmm/d3d12/ResourceAllocatorD3D12.cpp b/src/gpgmm/d3d12/ResourceAllocatorD3D12.cpp index 32ce9cbc1..61c6e99cc 100644 --- a/src/gpgmm/d3d12/ResourceAllocatorD3D12.cpp +++ b/src/gpgmm/d3d12/ResourceAllocatorD3D12.cpp @@ -714,11 +714,9 @@ namespace gpgmm { namespace d3d12 { mDebugAllocator->AddLiveAllocation(*resourceAllocationOut); #endif + // Update the current usage counters. if (mUseDetailedTimingEvents) { - // Update the current usage counters. GetInfoInternal(); - GPGMM_TRACE_EVENT_OBJECT_SNAPSHOT((*resourceAllocationOut)->GetMemory(), - (*resourceAllocationOut)->GetMemory()->GetInfo()); } GPGMM_TRACE_EVENT_OBJECT_SNAPSHOT(*resourceAllocationOut,