mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Fix processing of serialized zone color, value and validation.
This commit is contained in:
parent
d3905bd4bb
commit
20074e64f4
@ -2428,6 +2428,17 @@ Profiler::DequeueStatus Profiler::DequeueSerial()
|
|||||||
tracy_free_fast( (void*)ptr );
|
tracy_free_fast( (void*)ptr );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
default:
|
||||||
|
assert( false );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#ifdef TRACY_FIBERS
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switch( (QueueType)idx )
|
||||||
|
{
|
||||||
case QueueType::ZoneColor:
|
case QueueType::ZoneColor:
|
||||||
{
|
{
|
||||||
ThreadCtxCheckSerial( zoneColorThread );
|
ThreadCtxCheckSerial( zoneColorThread );
|
||||||
@ -2443,12 +2454,11 @@ Profiler::DequeueStatus Profiler::DequeueSerial()
|
|||||||
ThreadCtxCheckSerial( zoneValidationThread );
|
ThreadCtxCheckSerial( zoneValidationThread );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
default:
|
default:
|
||||||
assert( false );
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if( !AppendData( item, QueueDataSize[idx] ) ) return DequeueStatus::ConnectionLost;
|
if( !AppendData( item, QueueDataSize[idx] ) ) return DequeueStatus::ConnectionLost;
|
||||||
item++;
|
item++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user