From 0809c9f64479e9f566e70d45a7934c3a77d9a93e Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 9 Oct 2016 16:21:20 +0200 Subject: Fix #328: gdImageScale() with GD_WEIGHTED4 always returns NULL Actually, there is no special case implementation for GD_WEIGHTED4 interpolation yet, so we must not pretend there would. --- src/gd_interpolation.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gd_interpolation.c') diff --git a/src/gd_interpolation.c b/src/gd_interpolation.c index d885a49..d48e2de 100644 --- a/src/gd_interpolation.c +++ b/src/gd_interpolation.c @@ -2168,7 +2168,6 @@ BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMet switch (id) { case GD_NEAREST_NEIGHBOUR: - case GD_WEIGHTED4: im->interpolation = NULL; break; -- cgit v1.2.1