mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Apparently RECTANGLES shouldn't flip that way.
This commit is contained in:
1 parent
27e8e4c6fb
commit
c1041cfff2
1 file changed
+3
-1
@@ -298,8 +298,10 @@ static void SwapUVs(TransformedVertex &a, TransformedVertex &b) {
|
||||
|
||||
static void RotateUVs(TransformedVertex v[4]) {
|
||||
if (v[0].y < v[2].y && v[0].x > v[2].x) {
|
||||
SwapUVs(v[0], v[2]);
|
||||
// This appears to be wrong.
|
||||
// SwapUVs(v[0], v[2]);
|
||||
} else if (v[0].y > v[2].y && v[0].x < v[2].x) {
|
||||
// This works fine in Star Soldier.
|
||||
SwapUVs(v[1], v[3]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user