- fixed overflow with storing a sprite's dynamic light color in a PalEntry.

This commit is contained in:
Christoph Oelckers 2014-07-01 09:52:41 +02:00
commit 92185f96eb
3 changed files with 4 additions and 9 deletions

View file

@ -141,7 +141,7 @@ bool FRenderState::ApplyShader()
activeShader->muLightParms.Set(mLightParms);
activeShader->muFogColor.Set(mFogColor);
activeShader->muObjectColor.Set(mObjectColor);
activeShader->muDynLightColor.Set(mDynColor);
activeShader->muDynLightColor.Set(mDynColor.vec);
activeShader->muInterpolationFactor.Set(mInterpolationFactor);
if (mGlowEnabled)