Fix texture stretched vertically in HW T&L

This commit is contained in:
raven02 2013-02-20 20:32:18 +08:00
parent 1540869e95
commit d3413681e5

View File

@ -401,7 +401,7 @@ void GenerateVertexShader(int prim, char *buffer) {
break;
}
if (flipV)
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y;\n");
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y * 2.0;\n");
}
// Compute fogdepth