mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/mandelbrot: Fix colors
This commit is contained in:
parent
632ea82e49
commit
ac944d57e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user