mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Ge: Apply slight adjustment to cull range, see issue #17061
This commit is contained in:
1 parent
0b5bcef6e2
commit
630824a7a3
1 file changed
+1
-1
@@ -68,7 +68,7 @@ void CalcCullRange(float minValues[4], float maxValues[4], bool flipViewport, bo
|
||||
minValues[3] = clampEnable;
|
||||
maxValues[0] = x.second;
|
||||
maxValues[1] = y.second;
|
||||
maxValues[2] = z.second;
|
||||
maxValues[2] = z.second + 1.0f / 65536.0f; // Adjustment needed due to some kind of rounding. See #17061
|
||||
maxValues[3] = NAN;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user