HW T&L: remove multiple with 2.0

This commit is contained in:
raven02 committed 2013-07-01 08:12:43 +08:00
1 parent 6ce949a743
commit 7983bdb448
1 file changed
+2 -6
+2 -6
View File
@@ -552,12 +552,8 @@ void GenerateVertexShader(int prim, char *buffer, bool useHWTransform) {
break;
}
if (flipV) {
if (throughmode)
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y;\n");
else
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y * 2.0;\n");
}
if (flipV)
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y;\n");
}
// Compute fogdepth