mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix TRACY_NO_STATISTICS build.
This commit is contained in:
parent
5816dc2b11
commit
d592af9c2f
@ -1295,6 +1295,7 @@ void View::DrawFrames()
|
||||
}
|
||||
|
||||
int i = 0, idx = 0;
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
if( m_worker.AreSourceLocationZonesReady() && m_findZone.show && !m_findZone.match.empty() )
|
||||
{
|
||||
auto& zoneData = m_worker.GetZonesForSourceLocation( m_findZone.match[m_findZone.selMatch] );
|
||||
@ -1399,6 +1400,7 @@ void View::DrawFrames()
|
||||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
while( i < onScreen && m_vd.frameStart + idx < total )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user