summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/TransformUnit.cpp
diff options
context:
space:
mode:
authorPreston Smith <preston.s1993@gmail.com>2016-08-31 02:14:51 -0500
committerPreston Smith <preston.s1993@gmail.com>2016-08-31 02:14:51 -0500
commite6ccd0729f80a54b29069de5b72ee558e04fb964 (patch)
tree1968c0f4621c0140f9c5d1ff56a531db282e72e5 /Source/Core/VideoBackends/Software/TransformUnit.cpp
parent89b1d613cceb60fa69ce48c53037c08807c45cfc (diff)
Revert postMat movement
Diffstat (limited to 'Source/Core/VideoBackends/Software/TransformUnit.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/TransformUnit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Software/TransformUnit.cpp b/Source/Core/VideoBackends/Software/TransformUnit.cpp
index 6e590dd2e9..3283bdaf51 100644
--- a/Source/Core/VideoBackends/Software/TransformUnit.cpp
+++ b/Source/Core/VideoBackends/Software/TransformUnit.cpp
@@ -149,14 +149,14 @@ static void TransformTexCoordRegular(const TexMtxInfo& texinfo, int coordNum, bo
MultiplyVec3Mat34(src, mat, *dst);
}
- // normalize
- const PostMtxInfo& postInfo = xfmem.postMtxInfo[coordNum];
- const float* postMat = &xfmem.postMatrices[postInfo.index * 4];
-
if (xfmem.dualTexTrans.enabled)
{
Vec3 tempCoord;
+ // normalize
+ const PostMtxInfo& postInfo = xfmem.postMtxInfo[coordNum];
+ const float* postMat = &xfmem.postMatrices[postInfo.index * 4];
+
if (specialCase)
{
// no normalization