diff --git a/src/GPU3D_Soft.cpp b/src/GPU3D_Soft.cpp index a9d0bd64..2224c8d9 100644 --- a/src/GPU3D_Soft.cpp +++ b/src/GPU3D_Soft.cpp @@ -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 s32 rl = interp_start->Interpolate(vlcur->FinalColor[0], vlnext->FinalColor[0]);