mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Include before-start plot item, so that the plot doesn't begin abruptly.
This commit is contained in:
parent
8eb2cc83b3
commit
102bb9f8a8
@ -171,11 +171,8 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td,
|
||||
m_plot->rMax = max;
|
||||
m_plot->num = num;
|
||||
|
||||
if( it == vec.begin() )
|
||||
{
|
||||
m_draw.emplace_back( 0 );
|
||||
m_draw.emplace_back( it - vec.begin() );
|
||||
}
|
||||
|
||||
++it;
|
||||
while( it < end )
|
||||
|
Loading…
Reference in New Issue
Block a user