diff --git a/ui/app/internal/gpu/gpu.go b/ui/app/internal/gpu/gpu.go index 61d79e62..15c33054 100644 --- a/ui/app/internal/gpu/gpu.go +++ b/ui/app/internal/gpu/gpu.go @@ -82,7 +82,7 @@ type drawState struct { img image.Image imgRect image.Rectangle // Current ColorOp, if any. - color color.NRGBA + color color.RGBA } type pathOp struct { diff --git a/ui/draw/draw.go b/ui/draw/draw.go index 23b42f39..ca12ff38 100644 --- a/ui/draw/draw.go +++ b/ui/draw/draw.go @@ -19,7 +19,7 @@ type ImageOp struct { } type ColorOp struct { - Col color.NRGBA + Col color.RGBA } type DrawOp struct { @@ -73,7 +73,7 @@ func (c *ColorOp) Decode(data []byte, refs []interface{}) { panic("invalid op") } *c = ColorOp{ - Col: color.NRGBA{ + Col: color.RGBA{ R: data[1], G: data[2], B: data[3],