diff options
author | Roman Kennke <roman@kennke.org> | 2008-02-18 14:23:50 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2008-02-18 14:23:50 +0000 |
commit | a6a9db118f2170f3dbd109d583968358af45c800 (patch) | |
tree | e12df2a41162316c2a306a2fc8b6f168f070e1cb /java | |
parent | c098d3bdedc3b99fce9e45e169ddfabdca0bfc70 (diff) | |
download | classpath-a6a9db118f2170f3dbd109d583968358af45c800.tar.gz |
2008-02-18 Roman Kennke <kennke@aicas.com>
* java/awt/image/RGBImageFilter.java
(setPixels): Don't mask the source pixel.
Diffstat (limited to 'java')
-rw-r--r-- | java/awt/image/RGBImageFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |