diff options
author | RSDuck <RSDuck@users.noreply.github.com> | 2021-05-08 00:12:48 +0200 |
---|---|---|
committer | RSDuck <RSDuck@users.noreply.github.com> | 2021-05-08 00:12:48 +0200 |
commit | 509107fb59bfcdeec8ce5b475e49326236b22038 (patch) | |
tree | 40749e10f3756be4dc7632a37f3a1fb27ae4fc66 /src | |
parent | 6f91bcc39fdccecda83831978b23a413ea6809d1 (diff) |
set instead of or stencil buffer for left edges
Diffstat (limited to 'src')
-rw-r--r-- | src/GPU3D_Soft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GPU3D_Soft.cpp b/src/GPU3D_Soft.cpp index 2e398d5..8aebf7c 100644 --- a/src/GPU3D_Soft.cpp +++ b/src/GPU3D_Soft.cpp @@ -820,7 +820,7 @@ void SoftRenderer::RenderShadowMaskScanline(RendererPolygon* rp, s32 y) continue; if (!fnDepthTest(DepthBuffer[pixeladdr], z, dstattr)) - StencilBuffer[256*(y&0x1) + x] |= 0x1; + StencilBuffer[256*(y&0x1) + x] = 1; if (dstattr & 0x3) { |