mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Fix ZoneColor channel order.
This commit is contained in:
parent
c288a7903b
commit
6d5710901c
@ -4859,7 +4859,7 @@ void Worker::ProcessZoneColor( const QueueZoneColor& ev )
|
||||
auto& stack = td->stack;
|
||||
auto zone = stack.back();
|
||||
auto& extra = RequestZoneExtra( *zone );
|
||||
const uint32_t color = ( ev.b << 16 ) | ( ev.g << 8 ) | ev.r;
|
||||
const uint32_t color = ( ev.r << 16 ) | ( ev.g << 8 ) | ev.b;
|
||||
extra.color = color;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user