From 442084bce9a06384aaf3ad554a1653b59514807c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sat, 30 Jan 2010 08:35:16 +0000 Subject: [PATCH] mandelbrot: start with bright colors on greyscale git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24378 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fractals/mandelbrot_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/fractals/mandelbrot_set.c b/apps/plugins/fractals/mandelbrot_set.c index ad5a172f33..18fc746cfa 100644 --- a/apps/plugins/fractals/mandelbrot_set.c +++ b/apps/plugins/fractals/mandelbrot_set.c @@ -32,7 +32,7 @@ static fb_data imgbuffer[LCD_HEIGHT]; #endif #ifdef USEGSLIB -#define LCOLOR(iter) (iter << 5) +#define LCOLOR(iter) ((iter ^ 7) << 5) #else /* * Spread iter's colors over color range.