mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue