mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Ghost index is only available is statistics are enabled.
This commit is contained in:
parent
067189c355
commit
994b88f898
@ -3441,7 +3441,9 @@ ThreadData* Worker::NewThread( uint64_t thread )
|
||||
td->id = thread;
|
||||
td->count = 0;
|
||||
td->nextZoneId = 0;
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
td->ghostIdx = 0;
|
||||
#endif
|
||||
m_data.threads.push_back( td );
|
||||
m_threadMap.emplace( thread, td );
|
||||
m_data.threadDataLast.first = thread;
|
||||
|
Loading…
Reference in New Issue
Block a user