fix aa calc for 1px tall 0px wide slopes (#1795)

This commit is contained in:
Jaklyy
2023-08-27 07:27:42 -04:00
committed by GitHub
parent ee55677086
commit 758b5ee7a1

View File

@ -292,7 +292,7 @@ private:
// TODO: this is still not perfect (see for example x=169 y=33)
if (ylen == 0)
Increment = 0;
else if (ylen == xlen)
else if (ylen == xlen && xlen != 1)
Increment = 0x40000;
else
{