Skip to content

Commit

Permalink
set instead of or stencil buffer for left edges
Browse files Browse the repository at this point in the history
  • Loading branch information
RSDuck committed May 7, 2021
1 parent 6f91bcc commit 509107f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPU3D_Soft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 509107f

Please sign in to comment.