mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-10 18:05:27 +00:00
Do postponed work only when needed.
This commit is contained in:
@@ -731,6 +731,7 @@ bool View::DrawImpl()
|
||||
}
|
||||
}
|
||||
std::lock_guard<std::mutex> lock( m_worker.GetDataLock() );
|
||||
m_worker.DoPostponedWork();
|
||||
if( !m_worker.IsDataStatic() )
|
||||
{
|
||||
if( m_worker.IsConnected() )
|
||||
|
||||
Reference in New Issue
Block a user