diff options
-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) { |