* fix missing 3D line

* make lighting calculations accurate
* BLDCNT reading
This commit is contained in:
StapleButter
2017-03-16 00:07:36 +01:00
parent 29944c3c88
commit ebdc9e5442
3 changed files with 23 additions and 19 deletions

View File

@ -487,7 +487,7 @@ void RenderPolygon(Polygon* polygon, u32 wbuffer)
else if (rslope) dxr = (rslope > 0) ? 0 : 0x1000;
else dxr = 0x1000;
if (ybot > 191) ybot = 191;
if (ybot > 192) ybot = 192;
for (s32 y = ytop; y < ybot; y++)
{
if (!isline)