Commit cd0a75f3 authored by Nigel Tao's avatar Nigel Tao

exp/draw: unbreak build.

R=adg
CC=golang-dev
https://golang.org/cl/2448041
parent b5a480f0
......@@ -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 {
......
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