set instead of or stencil buffer for left edges

This commit is contained in:
RSDuck 2021-05-08 00:12:48 +02:00
parent 6f91bcc39f
commit 509107fb59
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{