PixelGrabber.java (setPixels(int,int,int,int, ColorModel,byte[],int,int): Fixed byte to int conversion.
2005-04-20 Jeroen Frijters <jeroen@frijters.net> * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int, ColorModel,byte[],int,int): Fixed byte to int conversion. From-SVN: r98448
This commit is contained in:
parent
65d5bde825
commit
9db695c198
@ -1,3 +1,8 @@
|
||||
2005-04-20 Jeroen Frijters <jeroen@frijters.net>
|
||||
|
||||
* java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
|
||||
ColorModel,byte[],int,int): Fixed byte to int conversion.
|
||||
|
||||
2005-04-20 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/io/FilePermission.java
|
||||
|
@ -522,7 +522,7 @@ public class PixelGrabber implements ImageConsumer
|
||||
|
||||
assert (i >= 0 && i < int_pixel_buffer.length);
|
||||
assert (p >= 0 && p < pixels.length);
|
||||
int_pixel_buffer[i] = currentModel.getRGB (pixels[p]);
|
||||
int_pixel_buffer[i] = currentModel.getRGB (pixels[p] & 0xFF);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user