softgpu: throughmode doesn't disable any tests.

This commit is contained in:
Unknown W. Brackets 2013-11-10 01:19:47 -08:00
parent 5751e0a0a4
commit 5327ce80d5

View File

@ -946,7 +946,6 @@ void DrawTriangle(const VertexData& v0, const VertexData& v1, const VertexData&
}
// TODO: Is it safe to ignore gstate.isDepthTestEnabled() when clear mode is enabled?
// TODO: Verify that through mode does not disable depth testing
if (gstate.isDepthTestEnabled() && !gstate.isModeClear()) {
// TODO: Verify that stencil op indeed needs to be applied here even if stencil testing is disabled
if (!DepthTestPassed(p.x, p.y, z)) {