Skip to content
Permalink
Browse files

GLSL: fix nfs-hp2

  • Loading branch information
degasus committed Mar 15, 2013
1 parent e1a081a commit 6962929356857e77eec941c969ee82c7267b2c25
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/VideoCommon/Src/PixelShaderGen.cpp
@@ -960,10 +960,10 @@ static void WriteStage(char *&p, int n, API_TYPE ApiType)
WRITE(p, "float2 indtevtrans%d = " I_INDTEXMTX"[%d].ww * uv%d.xy * indtevcrd%d.yy;\n", n, mtxidx, texcoord, n);
}
else
WRITE(p, "float2 indtevtrans%d = float2(0.0f);\n", n);
WRITE(p, "float2 indtevtrans%d = float2(0.0f, 0.0f);\n", n);
}
else
WRITE(p, "float2 indtevtrans%d = float2(0.0f);\n", n);
WRITE(p, "float2 indtevtrans%d = float2(0.0f, 0.0f);\n", n);

// ---------
// Wrapping

0 comments on commit 6962929

Please sign in to comment.
You can’t perform that action at this time.