mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Allow direct access to data size table index.
This commit is contained in:
@@ -114,7 +114,7 @@ void Profiler::Worker()
|
||||
char* ptr = buf;
|
||||
for( int i=0; i<sz; i++ )
|
||||
{
|
||||
const auto dsz = QueueDataSize[(uint8_t)item[i].hdr.type];
|
||||
const auto dsz = QueueDataSize[item[i].hdr.idx];
|
||||
memcpy( ptr, item+i, dsz );
|
||||
ptr += dsz;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user