diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e2c95751..07a94801 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1979,10 +1979,20 @@ void View::DrawZones() } } - auto& crash = m_worker.GetCrashEvent(); // zones + const auto& threadData = m_worker.GetThreadData(); + if( threadData.size() != m_threadOrder.size() ) + { + m_threadOrder.reserve( threadData.size() ); + for( int i=m_threadOrder.size(); i> m_visibleMsgThread; flat_hash_map> m_gpuDrift; flat_hash_map> m_plotView; + Vector m_threadOrder; tracy_force_inline VisData& Vis( const void* ptr ) {