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

Pass yMin, yMax through TimelineContext.

This commit is contained in:
Bartosz Taudul
2023-03-15 23:56:57 +01:00
parent c81ef177ab
commit 9538fa99ca
11 changed files with 21 additions and 18 deletions
+2 -2
View File
@@ -188,9 +188,9 @@ int64_t TimelineItemGpu::RangeEnd() const
return t;
}
bool TimelineItemGpu::DrawContents( const TimelineContext& ctx, int& offset, bool hover, float yMin, float yMax )
bool TimelineItemGpu::DrawContents( const TimelineContext& ctx, int& offset, bool hover )
{
return m_view.DrawGpu( *m_gpu, ctx.pxns, offset, ctx.wpos, hover, yMin, yMax );
return m_view.DrawGpu( *m_gpu, ctx.pxns, offset, ctx.wpos, hover, ctx.yMin, ctx.yMax );
}
}