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
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue