mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-23 11:38:21 +00:00
Use ThreadData cache in zone validation.
This commit is contained in:
@@ -3714,7 +3714,8 @@ void Worker::FrameImageTwiceFailure()
|
||||
|
||||
void Worker::ProcessZoneValidation( const QueueZoneValidation& ev )
|
||||
{
|
||||
auto td = NoticeThread( m_threadCtx );
|
||||
auto td = m_threadCtxData;
|
||||
if( !td ) td = m_threadCtxData = NoticeThread( m_threadCtx );
|
||||
td->nextZoneId = ev.id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user