1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Draw thread context switches using precalculated data.

This commit is contained in:
Bartosz Taudul
2023-03-22 19:38:58 +01:00
parent 88f0b9c754
commit 50ccdc1ef4
4 changed files with 97 additions and 130 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ void TimelineItemThread::HeaderExtraContents( const TimelineContext& ctx, int of
bool TimelineItemThread::DrawContents( const TimelineContext& ctx, int& offset )
{
const auto res = m_view.DrawThread( ctx, *m_thread, m_draw, offset, m_depth );
const auto res = m_view.DrawThread( ctx, *m_thread, m_draw, m_ctxDraw, offset, m_depth );
if( !res )
{
auto& crash = m_worker.GetCrashEvent();