GLSL: fix nfs-hp2

This commit is contained in:
degasus 2013-03-15 23:32:01 +01:00
parent e1a081ad2d
commit 6962929356
1 changed files with 2 additions and 2 deletions

View File

@ -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