mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 05:17:40 -07:00
Merge a1b3ace386
into 7c1d2a64f4
This commit is contained in:
commit
585d3569b3
@ -1067,6 +1067,14 @@ void SoftRenderer::RenderPolygonScanline(const GPU& gpu, RendererPolygon* rp, s3
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// quick hack to fix a minor bug.
|
||||||
|
// for some reason 0 pixel tall polygons have broken aa.
|
||||||
|
if (polygon->YBottom == polygon->YTop)
|
||||||
|
{
|
||||||
|
l_edgecov = 0;
|
||||||
|
r_edgecov = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// interpolate attributes along Y
|
// interpolate attributes along Y
|
||||||
|
|
||||||
s32 rl = interp_start->Interpolate(vlcur->FinalColor[0], vlnext->FinalColor[0]);
|
s32 rl = interp_start->Interpolate(vlcur->FinalColor[0], vlnext->FinalColor[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user