mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix offset.
This commit is contained in:
parent
36068d1f2b
commit
adb168a5ea
@ -1938,7 +1938,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker,
|
|||||||
const auto maxAsm = strlen( tmp ) + 1;
|
const auto maxAsm = strlen( tmp ) + 1;
|
||||||
lx += ts * maxAsm + ty;
|
lx += ts * maxAsm + ty;
|
||||||
}
|
}
|
||||||
if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 19 * ts + ty;
|
if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 17 * ts + ty;
|
||||||
DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF );
|
DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF );
|
||||||
|
|
||||||
const AddrStatData zero;
|
const AddrStatData zero;
|
||||||
|
Loading…
Reference in New Issue
Block a user