mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-24 10:05:17 +00:00
Apparently RECTANGLES shouldn't flip that way.
This commit is contained in:
parent
27e8e4c6fb
commit
c1041cfff2
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user