mandelbrot: use correct colors on greyscale targets (FS#10935)
commite2e03c08b6d42af7581602bc45de61e689c73045
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Sat, 30 Jan 2010 07:16:16 +0000 (30 07:16 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Sat, 30 Jan 2010 07:16:16 +0000 (30 07:16 +0000)
treead362e047a028053387b3dc52ef5407c685cb75a
parentd1843e1af582160f5284166dc806d3df23bc6d82
mandelbrot: use correct colors on greyscale targets (FS#10935)

Tested on Clipv1 (sim/target) and Ipod3g (sim)
Each color would be calculated as 0

Note the iteration over the whole range of colors is quite weird, and I
can not really sense what max_iter represents (except it's a number of
different colors, right?)

It should be backported to branch after tomers check if color range is
correct (FS#10935 mentions much smaller range for color targets as well)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24377 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/fractals/mandelbrot_set.c