Update TracyD3D12.hpp

opsie
This commit is contained in:
Marcos Slomp
2026-03-23 15:43:36 -07:00
committed by GitHub
parent e792752104
commit a59ff2dcbb

View File

@@ -370,12 +370,12 @@ namespace tracy
srcLocationAddr = Profiler::AllocSourceLocation( sourceLine, sourceFile, sourceFileLen, functionName, functionNameLen, zoneName, zoneNameLen);
if( captureCallstack )
{
auto* item = Profiler::QueueSerialCallstack( Callstack( callstackDepth ) );
item = Profiler::QueueSerialCallstack( Callstack( callstackDepth ) );
itemType = QueueType::GpuZoneBeginAllocSrcLocCallstackSerial;
}
else
{
auto* item = Profiler::QueueSerial();
item = Profiler::QueueSerial();
itemType = QueueType::GpuZoneBeginAllocSrcLocSerial;
}
}