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

Use TimelineContext for drawing GPU zones.

This commit is contained in:
Bartosz Taudul
2023-03-19 00:28:14 +01:00
parent 5743bff0af
commit ee5d6f1adb
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ int64_t TimelineItemGpu::RangeEnd() const
bool TimelineItemGpu::DrawContents( const TimelineContext& ctx, int& offset )
{
return m_view.DrawGpu( *m_gpu, ctx.pxns, offset, ctx.wpos, ctx.hover, ctx.yMin, ctx.yMax );
return m_view.DrawGpu( ctx, *m_gpu, offset );
}
}