no idea how that one slipped in

This commit is contained in:
Jaklyy
2023-12-20 23:15:07 -05:00
parent 8cc42490de
commit 6cee0a7ad7
2 changed files with 5 additions and 7 deletions

View File

@ -1870,7 +1870,7 @@ void SoftRenderer::RenderPolygons(GPU& gpu, bool threaded, Polygon** polygons, i
if (gpu.GPU3D.RDLines > buffersize) gpu.GPU3D.RDLines = buffersize;
}
for (s32 y = 1; y < 192; y++)
if (prevbufferline >= 0)
{
ScanlineFinalPass(gpu.GPU3D, y-2, prevbufferline, true, prev2dtime);
ScanlineFinalPass(gpu.GPU3D, y-1, prevbufferline+1, false, prev2dtime);
@ -1880,7 +1880,7 @@ void SoftRenderer::RenderPolygons(GPU& gpu, bool threaded, Polygon** polygons, i
prevbufferline = bufferline;
prev2dtime = gpu2dtracking;
if (threaded)
if (threaded)
Platform::Semaphore_Post(Sema_ScanlineCount);
}