mirror of
https://github.com/golang/go
synced 2024-11-24 23:27:57 -07:00
exp/draw: unbreak build.
R=adg CC=golang-dev https://golang.org/cl/2448041
This commit is contained in:
parent
b5a480f035
commit
cd0a75f3d7
@ -16,11 +16,11 @@ func eq(c0, c1 image.Color) bool {
|
||||
}
|
||||
|
||||
func fillBlue(alpha int) image.Image {
|
||||
return image.ColorImage{image.RGBAColor{0, 0, uint8(alpha), uint8(alpha)}}
|
||||
return image.NewColorImage(image.RGBAColor{0, 0, uint8(alpha), uint8(alpha)})
|
||||
}
|
||||
|
||||
func fillAlpha(alpha int) image.Image {
|
||||
return image.ColorImage{image.AlphaColor{uint8(alpha)}}
|
||||
return image.NewColorImage(image.AlphaColor{uint8(alpha)})
|
||||
}
|
||||
|
||||
func vgradGreen(alpha int) image.Image {
|
||||
|
Loading…
Reference in New Issue
Block a user