mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use ThreadData cache in zone validation.
This commit is contained in:
parent
b1c88cd1f2
commit
003bed573c
@ -3714,7 +3714,8 @@ void Worker::FrameImageTwiceFailure()
|
|||||||
|
|
||||||
void Worker::ProcessZoneValidation( const QueueZoneValidation& ev )
|
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;
|
td->nextZoneId = ev.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user