summaryrefslogtreecommitdiff
path: root/src/gd_interpolation.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-10-09 16:21:20 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-10-09 16:25:07 +0200
commit0809c9f64479e9f566e70d45a7934c3a77d9a93e (patch)
tree430487674ed71b6d39026d5549673cff487de418 /src/gd_interpolation.c
parent1f3f82d9010a76d6613575707e4b9d650cf15661 (diff)
downloadlibgd-0809c9f64479e9f566e70d45a7934c3a77d9a93e.tar.gz
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.
Diffstat (limited to 'src/gd_interpolation.c')
-rw-r--r--src/gd_interpolation.c1
1 files changed, 0 insertions, 1 deletions
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;