diff --git a/src/pkg/image/image.go b/src/pkg/image/image.go index 222d21adef..4350acc820 100644 --- a/src/pkg/image/image.go +++ b/src/pkg/image/image.go @@ -280,7 +280,7 @@ func (p *Alpha) At(x, y int) Color { return p.Pix[y*p.Stride+x] } -func (p *Alpha) Set(x, y int, c AlphaColor) { +func (p *Alpha) Set(x, y int, c Color) { if !p.Rect.Contains(Point{x, y}) { return }