From 57975ed71f6b9262f11e77d81ebb1fbb3fc4cbbc Mon Sep 17 00:00:00 2001 From: gocha Date: Wed, 29 Dec 2010 04:02:38 +0000 Subject: [PATCH] 0.9.6: rasterizer: improve horizontal line (Portrait of Ruin, Dart) --- desmume/src/rasterize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index 3189b9eb8..3c9f4cfde 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -245,6 +245,7 @@ FORCEINLINE edge_fx_fl::edge_fx_fl(int Top, int Bottom, VERT** verts, bool& fail Numerator = 0; ErrorTerm = 0; Denominator = 1; + dN = 1; } float YPrestep = Fixed28_4ToFloat((fixed28_4)(Y*16 - verts[Top]->y));