Merge pull request #748 from raven02/hw-fix

Fix texture stretched vertically in HW T&L
This commit is contained in:
Henrik Rydgård 2013-02-20 14:56:20 -08:00
commit d9e1faa9c4

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