summaryrefslogtreecommitdiff
path: root/apps/plugins/fractals/mandelbrot_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fractals/mandelbrot_set.c')
-rw-r--r--apps/plugins/fractals/mandelbrot_set.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/fractals/mandelbrot_set.c b/apps/plugins/fractals/mandelbrot_set.c
index ccc65b8e91..22f81ea4bb 100644
--- a/apps/plugins/fractals/mandelbrot_set.c
+++ b/apps/plugins/fractals/mandelbrot_set.c
@@ -24,6 +24,12 @@
24 24
25#define BUTTON_YIELD_TIMEOUT (HZ / 4) 25#define BUTTON_YIELD_TIMEOUT (HZ / 4)
26 26
27#ifdef USEGSLIB
28unsigned char imgbuffer[LCD_HEIGHT];
29#else
30fb_data imgbuffer[LCD_HEIGHT];
31#endif
32
27/* 8 entries cyclical, last entry is black (convergence) */ 33/* 8 entries cyclical, last entry is black (convergence) */
28#ifdef HAVE_LCD_COLOR 34#ifdef HAVE_LCD_COLOR
29static const fb_data color[9] = { 35static const fb_data color[9] = {
@@ -55,6 +61,7 @@ static const unsigned char color[9] = {
55#endif 61#endif
56 62
57#if (LCD_DEPTH < 8) 63#if (LCD_DEPTH < 8)
64#define USEGLIB
58#else 65#else
59#define UPDATE_FREQ (HZ/50) 66#define UPDATE_FREQ (HZ/50)
60#endif 67#endif