examples/mandelbrot: Fix colors

This commit is contained in:
Hajime Hoshi 2017-12-16 20:37:24 +09:00
parent 632ea82e49
commit ac944d57e1

View File

@ -48,7 +48,7 @@ func init() {
func color(it int) (r, g, b byte) {
if it == maxIt {
return 0, 0, 0
return 0xff, 0xff, 0xff
}
c := palette[it]
return c, c, c