- Fix bug where the composited 3D layer could have incorrect colors on non-SSE2 systems. (Regression from r5509.)
This commit is contained in:
rogerman 2016-08-04 01:08:42 +00:00
parent cd7690730b
commit e54a0eb3e4
1 changed files with 2 additions and 2 deletions

View File

@ -2171,11 +2171,11 @@ FORCEINLINE void GPUEngineBase::_RenderPixel3D(GPUEngineCompositorInfo &compStat
break; break;
case ColorEffect_IncreaseBrightness: case ColorEffect_IncreaseBrightness:
dstColor16 = compState.brightnessUpTable555[srcColor16]; dstColor16 = compState.brightnessUpTable555[srcColor16 & 0x7FFF];
break; break;
case ColorEffect_DecreaseBrightness: case ColorEffect_DecreaseBrightness:
dstColor16 = compState.brightnessDownTable555[srcColor16]; dstColor16 = compState.brightnessDownTable555[srcColor16 & 0x7FFF];
break; break;
case ColorEffect_Blend: case ColorEffect_Blend: