Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GLSL: fix nfs-hp2
  • Loading branch information
degasus committed Mar 15, 2013
1 parent e1a081a commit 6962929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 6962929

Please sign in to comment.