mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Flip in throughmode for HW T&L
This commit is contained in:
1 parent
10e8dc2693
commit
49befb3d41
1 file changed
+4
-1
@@ -408,7 +408,10 @@ void GenerateVertexShader(int prim, char *buffer) {
|
||||
break;
|
||||
}
|
||||
if (flipV)
|
||||
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y * 2.0;\n");
|
||||
if (gstate.isModeThrough())
|
||||
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");
|
||||
}
|
||||
|
||||
// Compute fogdepth
|
||||
|
||||
Reference in new issue
Block a user