mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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->rMax = max;
|
||||||
m_plot->num = num;
|
m_plot->num = num;
|
||||||
|
|
||||||
if( it == vec.begin() )
|
m_draw.emplace_back( 0 );
|
||||||
{
|
m_draw.emplace_back( it - vec.begin() );
|
||||||
m_draw.emplace_back( 0 );
|
|
||||||
m_draw.emplace_back( it - vec.begin() );
|
|
||||||
}
|
|
||||||
|
|
||||||
++it;
|
++it;
|
||||||
while( it < end )
|
while( it < end )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user