Fix ZoneColor channel order.

This commit is contained in:
Bartosz Taudul 2021-03-09 02:14:57 +01:00
parent c288a7903b
commit 6d5710901c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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;
}