mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix color channels names in zone color message.
This commit is contained in:
@@ -4110,9 +4110,9 @@ TRACY_API void ___tracy_emit_zone_color( TracyCZoneCtx ctx, uint32_t color ) {
|
||||
#endif
|
||||
{
|
||||
TracyQueuePrepareC( tracy::QueueType::ZoneColor );
|
||||
tracy::MemWrite( &item->zoneColor.r, uint8_t( ( color ) & 0xFF ) );
|
||||
tracy::MemWrite( &item->zoneColor.b, uint8_t( ( color ) & 0xFF ) );
|
||||
tracy::MemWrite( &item->zoneColor.g, uint8_t( ( color >> 8 ) & 0xFF ) );
|
||||
tracy::MemWrite( &item->zoneColor.b, uint8_t( ( color >> 16 ) & 0xFF ) );
|
||||
tracy::MemWrite( &item->zoneColor.r, uint8_t( ( color >> 16 ) & 0xFF ) );
|
||||
TracyQueueCommitC( zoneColorThread );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user