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:
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user