Colorspace Handler: Fix bug where ColorspaceApplyIntensityToBuffer*() would not apply an R/B color swap when requested.
This commit is contained in:
parent
d869e6cb10
commit
ad5f5c24e6
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue