Colorspace Handler: Fix bug where ColorspaceApplyIntensityToBuffer*() would not apply an R/B color swap when requested.

This commit is contained in:
rogerman 2018-07-20 18:45:44 -07:00
parent d869e6cb10
commit ad5f5c24e6
1 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ void ColorspaceApplyIntensityToBuffer16(u16 *dst, size_t pixCount, float intensi
{
if (IS_UNALIGNED)
{
i = csh.ApplyIntensityToBuffer16_IsUnaligned(dst, pixCountVector, intensity);
i = csh.ApplyIntensityToBuffer16_SwapRB_IsUnaligned(dst, pixCountVector, intensity);
}
else
{
@ -763,7 +763,7 @@ void ColorspaceApplyIntensityToBuffer32(u32 *dst, size_t pixCount, float intensi
{
if (IS_UNALIGNED)
{
i = csh.ApplyIntensityToBuffer32_IsUnaligned(dst, pixCountVector, intensity);
i = csh.ApplyIntensityToBuffer32_SwapRB_IsUnaligned(dst, pixCountVector, intensity);
}
else
{