mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store thread id in thread data.
This commit is contained in:
@@ -350,7 +350,7 @@ void View::NewZone( Event* zone, uint64_t thread )
|
||||
if( it == m_threadMap.end() )
|
||||
{
|
||||
m_threadMap.emplace( thread, m_threads.size() );
|
||||
m_threads.emplace_back();
|
||||
m_threads.emplace_back( ThreadData { thread } );
|
||||
timeline = &m_threads.back().timeline;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user