summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/TransformUnit.cpp
diff options
context:
space:
mode:
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