Fix incorrect alpha values returned by NRGB color model
This commit is contained in:
parent
298daa4e83
commit
127459012a
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ func (c NRGBColor) RGBA() (r, g, b, a uint32) {
|
|||
g |= g << 8
|
||||
b = uint32(c.B)
|
||||
b |= b << 8
|
||||
a = 65280 // ( 255 << 8 )
|
||||
a = 65535 // (255 << 8 | 255)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue