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));