diff --git a/server/TracyTimelineItemThread.cpp b/server/TracyTimelineItemThread.cpp index b91de0f3..0ae0c934 100644 --- a/server/TracyTimelineItemThread.cpp +++ b/server/TracyTimelineItemThread.cpp @@ -309,6 +309,8 @@ void TimelineItemThread::Preprocess( const TimelineContext& ctx, TaskDispatch& t auto ctxSwitch = m_worker.GetContextSwitchData( m_thread->id ); if( ctxSwitch ) { + // There is no yPos passed here to enable more granular visibility check, + // as context switch shadows will usually be projected down onto zones. td.Queue( [this, &ctx, ctxSwitch, visible] { PreprocessContextSwitches( ctx, *ctxSwitch, visible ); } );