mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 12:41:09 +00:00
GLSL: fix nfs-hp2
This commit is contained in:
parent
e1a081ad2d
commit
6962929356
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user