ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.
* java/awt/image/ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue. From-SVN: r49203
This commit is contained in:
parent
974bbe9ffe
commit
8c77cda54f
@ -1,3 +1,8 @@
|
||||
2002-01-24 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/awt/image/ColorModel.java (getAlpha(Object)): Call
|
||||
getAlpha, not getBlue.
|
||||
|
||||
2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
|
||||
|
@ -293,7 +293,7 @@ public abstract class ColorModel implements Transparency
|
||||
* @see #getRed(Object)
|
||||
*/
|
||||
public int getAlpha(Object inData) {
|
||||
return getBlue(getPixelFromArray(inData));
|
||||
return getAlpha(getPixelFromArray(inData));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user