From 758b5ee7a181f0e02683b1a4b928cf3e92b03073 Mon Sep 17 00:00:00 2001 From: Jaklyy <102590697+Jaklyy@users.noreply.github.com> Date: Sun, 27 Aug 2023 07:27:42 -0400 Subject: fix aa calc for 1px tall 0px wide slopes (#1795) --- src/GPU3D_Soft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPU3D_Soft.h b/src/GPU3D_Soft.h index 25a2d6c..d9a6028 100644 --- a/src/GPU3D_Soft.h +++ b/src/GPU3D_Soft.h @@ -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 { -- cgit v1.2.3