diff --git a/magick/draw.c b/magick/draw.c index 1954f80793..77c7763a79 100644 --- a/magick/draw.c +++ b/magick/draw.c @@ -4733,7 +4733,7 @@ static double GetOpacityPixel(PolygonInfo *polygon_info,const double mid, else { alpha=PerceptibleReciprocal(alpha); - beta=delta.x*(y-q->y)-delta.y*(x-q->x)+MagickEpsilon; + beta=delta.x*(y-q->y)-delta.y*(x-q->x); distance=alpha*beta*beta; } } @@ -4938,12 +4938,10 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image, PixelPacket *magick_restrict q; - ssize_t - x; - ssize_t start_x, - stop_x; + stop_x, + x; if (status == MagickFalse) continue;