mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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