Revert postMat movement

This commit is contained in:
Preston Smith 2016-08-31 02:14:51 -05:00
parent 89b1d613cc
commit e6ccd0729f

View File

@ -149,14 +149,14 @@ static void TransformTexCoordRegular(const TexMtxInfo& texinfo, int coordNum, bo
MultiplyVec3Mat34(src, mat, *dst); MultiplyVec3Mat34(src, mat, *dst);
} }
// normalize
const PostMtxInfo& postInfo = xfmem.postMtxInfo[coordNum];
const float* postMat = &xfmem.postMatrices[postInfo.index * 4];
if (xfmem.dualTexTrans.enabled) if (xfmem.dualTexTrans.enabled)
{ {
Vec3 tempCoord; Vec3 tempCoord;
// normalize
const PostMtxInfo& postInfo = xfmem.postMtxInfo[coordNum];
const float* postMat = &xfmem.postMatrices[postInfo.index * 4];
if (specialCase) if (specialCase)
{ {
// no normalization // no normalization