diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-01-21 12:27:07 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-01-21 12:27:07 +0000 |
commit | e0dfa22cad7dd22e7ab7ac8d0fa2df21e4cedddb (patch) | |
tree | 372f9625b1498ccd28f575271969a17ef6b252b9 /apps/plugins/fractals/mandelbrot_set.c | |
parent | 7ebde8503b9923c97920a4a25c47c1dfd7edc69f (diff) | |
download | rockbox-e0dfa22cad7dd22e7ab7ac8d0fa2df21e4cedddb.tar.gz rockbox-e0dfa22cad7dd22e7ab7ac8d0fa2df21e4cedddb.zip |
Fractals: this should fix bugs on simulator for greyscale LCD targets.
* moved #define USEGSLIB to fractal_sets.h and include only needed header file.
* include plugin.h so that LCD_DEPTH is defined.
* explicitly include fractal_sets.h in mandelbrot_set.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24309 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fractals/mandelbrot_set.c')
-rw-r--r-- | apps/plugins/fractals/mandelbrot_set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/fractals/mandelbrot_set.c b/apps/plugins/fractals/mandelbrot_set.c index 013b462454..85f1b4ba75 100644 --- a/apps/plugins/fractals/mandelbrot_set.c +++ b/apps/plugins/fractals/mandelbrot_set.c | |||
@@ -20,6 +20,7 @@ | |||
20 | * KIND, either express or implied. | 20 | * KIND, either express or implied. |
21 | * | 21 | * |
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | #include "fractal_sets.h" | ||
23 | #include "mandelbrot_set.h" | 24 | #include "mandelbrot_set.h" |
24 | 25 | ||
25 | #define BUTTON_YIELD_TIMEOUT (HZ / 4) | 26 | #define BUTTON_YIELD_TIMEOUT (HZ / 4) |