Fix wrong initial mClipSplit values.

This commit is contained in:
Magnus Norddahl 2016-08-29 05:19:47 +02:00
parent 945d5b154a
commit 71387b1b42

View file

@ -111,7 +111,6 @@ void FRenderState::Reset()
mSplitBottomPlane.Set(0.0f, 0.0f, 0.0f, 0.0f); mSplitBottomPlane.Set(0.0f, 0.0f, 0.0f, 0.0f);
mClipLine.Set(0.0f, 0.0f, 0.0f, 0.0f); mClipLine.Set(0.0f, 0.0f, 0.0f, 0.0f);
mDynColor.Set(0.0f, 0.0f, 0.0f, 0.0f); mDynColor.Set(0.0f, 0.0f, 0.0f, 0.0f);
mClipSplit[0] = mClipSplit[1] = 0.0f;
mEffectState = 0; mEffectState = 0;
activeShader = nullptr; activeShader = nullptr;
mProjectionMatrix.loadIdentity(); mProjectionMatrix.loadIdentity();