mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Wait for ghost zones to be ready.
This commit is contained in:
parent
159cf8c477
commit
8aeba9dc79
@ -2545,7 +2545,7 @@ void View::DrawZones()
|
||||
if( m_vd.drawZones )
|
||||
{
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
if( vis.ghost || ( m_vd.ghostZones && v->timeline.empty() ) )
|
||||
if( m_worker.AreGhostZonesReady() && ( vis.ghost || ( m_vd.ghostZones && v->timeline.empty() ) ) )
|
||||
{
|
||||
depth = DispatchGhostLevel( v->ghostZones, hover, pxns, int64_t( nspx ), wpos, offset, 0, yMin, yMax, v->id );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user