1
0
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:
Bartosz Taudul
2023-01-23 01:18:23 +01:00
parent eb7c13e7bb
commit 6652999a60
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -5331,7 +5331,7 @@ void Worker::ProcessZoneColor( const QueueZoneColor& ev )
auto& stack = td->stack;
auto zone = stack.back();
auto& extra = RequestZoneExtra( *zone );
const uint32_t color = ( ev.r << 16 ) | ( ev.g << 8 ) | ev.b;
const uint32_t color = ( ev.b << 16 ) | ( ev.g << 8 ) | ev.r;
extra.color = color;
}