bug fix; use NRGBA
This commit is contained in:
parent
5af2d1264c
commit
d3e574108b
@ -68,7 +68,7 @@ func (c *Context) Paint() {
|
||||
}
|
||||
|
||||
func (c *Context) SetSourceRGBA(r, g, b, a float64) {
|
||||
c.color = color.RGBA{
|
||||
c.color = color.NRGBA{
|
||||
uint8(r * 255),
|
||||
uint8(g * 255),
|
||||
uint8(b * 255),
|
||||
|
Loading…
Reference in New Issue
Block a user