mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 02:59:58 +01:00
rsx: Swap R and B channels in SET_BLEND_COLOR since this color is BGRA, not RGBA
This commit is contained in:
1 parent
6c6b973342
commit
f3551cedb7
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user