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
This commit is contained in:
Jens Arnold 2005-07-30 13:02:33 +00:00
parent 3d73790ab7
commit 43b9cda13c

View file

@ -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)