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:
rogerman 2017-10-22 23:31:24 -07:00
parent 858b05df79
commit 8e16b618a7
1 changed files with 1 additions and 1 deletions

View File

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