graydon hoare wrote:
> trivial fix to make colors with alpha work. ok to commit?
> - return (getRGB() & ALPHA_MASK) >> 24;
> + return ((getRGB() & ALPHA_MASK) >> 24) & 0xff;
Why not simplify:
return (getRGB() & ALPHA_MASK) >>> 24;
--
Someday, I might put a cute statement here.
Eric Blake ebb9@byu.net