Colorspace Handler: Fix bug where RB-swapping in ColorspaceConvert555XTo888() would cancel itself out, leaving RB unswapped in all cases. (Related to commit 858b05d.)
This commit is contained in:
parent
858b05df79
commit
8e16b618a7
|
@ -261,7 +261,7 @@ FORCEINLINE void ColorspaceConvert555XTo888(u16 srcColor, u8 *dst)
|
|||
FragmentColor srcColorComponent;
|
||||
srcColorComponent.color = ColorspaceConvert555To8888Opaque<SWAP_RB>(srcColor);
|
||||
|
||||
ColorspaceConvert888XTo888<SWAP_RB>(srcColorComponent, dst);
|
||||
ColorspaceConvert888XTo888<false>(srcColorComponent, dst);
|
||||
}
|
||||
|
||||
template <bool SWAP_RB>
|
||||
|
|
Loading…
Reference in New Issue