mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
softgpu: Correct line early z checks.
Was looking at completely wrong pixels, hadn't removed subpixels yet.
This commit is contained in:
1 parent
f2beafe769
commit
7d4aa3eb2d
1 file changed
+1
-1
@@ -1365,7 +1365,7 @@ void DrawLine(const VertexData &v0, const VertexData &v1, const BinCoords &range
|
||||
maskOK = false;
|
||||
}
|
||||
|
||||
if (!CheckDepthTestPassed(pixelID.DepthTestFunc(), x, y, pixelID.cached.depthbufStride, z)) {
|
||||
if (!CheckDepthTestPassed(pixelID.DepthTestFunc(), p.x, p.y, pixelID.cached.depthbufStride, z)) {
|
||||
maskOK = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user