Draw samples using precalculated data.

This commit is contained in:
Bartosz Taudul
2023-03-22 22:25:55 +01:00
parent 8bbd50361a
commit 80c15c0f9b
4 changed files with 40 additions and 60 deletions

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, m_ctxDraw, offset, m_depth );
const auto res = m_view.DrawThread( ctx, *m_thread, m_draw, m_ctxDraw, m_samplesDraw, offset, m_depth );
if( !res )
{
auto& crash = m_worker.GetCrashEvent();