From 43b9cda13c5e6275de0921dc457af9760c95a53b Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 30 Jul 2005 13:02:33 +0000 Subject: [PATCH] Ooops, the adapted maximum iteration count was off by 60... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7259 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mandelbrot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/mandelbrot.c b/apps/plugins/mandelbrot.c index 6e28f55b57..8474969650 100644 --- a/apps/plugins/mandelbrot.c +++ b/apps/plugins/mandelbrot.c @@ -168,7 +168,7 @@ void recalc_parameters(void) y_step = (y_max - y_min) / LCD_HEIGHT; y_delta = MUL64(y_step, (LCD_HEIGHT/8)); step_log2 = MIN(ilog2_fp(x_step), ilog2_fp(y_step)); - max_iter = MAX(10, 10 - 15 * step_log2); + max_iter = MAX(10, -15 * step_log2 - 50); } void init_mandelbrot_set(void)