Commit da39008a authored by Roger Peppe's avatar Roger Peppe Committed by Rob Pike

image: make AlphaColor.Set conform to usual signature

R=nigeltao, r
CC=golang-dev
https://golang.org/cl/4471045
parent 0e8032ca
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment