mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-26 20:38:33 -06:00
rsx: Swap R and B channels in SET_BLEND_COLOR since this color is BGRA, not RGBA
This commit is contained in:
parent
6c6b973342
commit
f3551cedb7
@ -3768,7 +3768,7 @@ struct registers_decoder<NV4097_SET_BLEND_COLOR>
|
||||
return bf_decoder<16, 16>(value);
|
||||
}
|
||||
|
||||
u8 red8() const
|
||||
u8 blue8() const
|
||||
{
|
||||
return bf_decoder<0, 8>(value);
|
||||
}
|
||||
@ -3778,7 +3778,7 @@ struct registers_decoder<NV4097_SET_BLEND_COLOR>
|
||||
return bf_decoder<8, 8>(value);
|
||||
}
|
||||
|
||||
u8 blue8() const
|
||||
u8 red8() const
|
||||
{
|
||||
return bf_decoder<16, 8>(value);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user