From 6ab858b72270f2c8fbac283f898487206157214c Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 4 Dec 2015 17:46:50 -0300 Subject: [PATCH] Minor change in get_neighboring_pixels() --- src/filters/neighboring_pixels.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/filters/neighboring_pixels.h b/src/filters/neighboring_pixels.h index b6f603d05..048c4c151 100644 --- a/src/filters/neighboring_pixels.h +++ b/src/filters/neighboring_pixels.h @@ -28,8 +28,6 @@ namespace filters { TiledMode tiledMode, Delegate& delegate) { - int dx, dy; - // Y position to get pixel. int getx, gety = y - centerY; int addx, addy = 0; @@ -48,7 +46,7 @@ namespace filters { gety = sourceImage->height()-1; } - for (dy=0; dy(sourceImage->getPixelAddress(getx, gety)); - for (dx=0; dx