From a6a9db118f2170f3dbd109d583968358af45c800 Mon Sep 17 00:00:00 2001 From: Roman Kennke Date: Mon, 18 Feb 2008 14:23:50 +0000 Subject: 2008-02-18 Roman Kennke * java/awt/image/RGBImageFilter.java (setPixels): Don't mask the source pixel. --- java/awt/image/RGBImageFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/awt') diff --git a/java/awt/image/RGBImageFilter.java b/java/awt/image/RGBImageFilter.java index c777fecd9..3cd14239c 100644 --- a/java/awt/image/RGBImageFilter.java +++ b/java/awt/image/RGBImageFilter.java @@ -245,7 +245,7 @@ public abstract class RGBImageFilter extends ImageFilter { for (int xp = 0; xp < w; xp++) { - filtered[xp] = model.getRGB((pixels[index] & 0xff)); + filtered[xp] = model.getRGB((pixels[index])); index++; } index += scansize - w; -- cgit v1.2.1