fix shadow oddities
not a proper fix, but shadows aren't emulated properly anyway
This commit is contained in:
parent
a086e22023
commit
96b471d729
|
@ -742,8 +742,7 @@ void RenderPolygon(Polygon* polygon)
|
||||||
|
|
||||||
if (polygon->ClearStencil)
|
if (polygon->ClearStencil)
|
||||||
{
|
{
|
||||||
s32 height = ybot - ytop;
|
memset(StencilBuffer, 0, 192*256);
|
||||||
memset(&StencilBuffer[ytop*256], 0, height*256);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (s32 y = ytop; y < ybot; y++)
|
for (s32 y = ytop; y < ybot; y++)
|
||||||
|
|
Loading…
Reference in New Issue