mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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) {
|
func color(it int) (r, g, b byte) {
|
||||||
if it == maxIt {
|
if it == maxIt {
|
||||||
return 0, 0, 0
|
return 0xff, 0xff, 0xff
|
||||||
}
|
}
|
||||||
c := palette[it]
|
c := palette[it]
|
||||||
return c, c, c
|
return c, c, c
|
||||||
|
Loading…
Reference in New Issue
Block a user