From 6962929356857e77eec941c969ee82c7267b2c25 Mon Sep 17 00:00:00 2001 From: degasus Date: Fri, 15 Mar 2013 23:32:01 +0100 Subject: [PATCH] GLSL: fix nfs-hp2 --- Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index d9c09c441b..a92864b80c 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/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