diff --git a/context.go b/context.go index 98ec5e3..06e59a2 100644 --- a/context.go +++ b/context.go @@ -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),