mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
fix shadow oddities
not a proper fix, but shadows aren't emulated properly anyway
This commit is contained in:
@ -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++)
|
||||||
|
Reference in New Issue
Block a user