1
0
Fork 0
forked from len0rd/rockbox

Fractals: Fix red

- Define painting buffer inside fractal set implementation
- Add missing USEGLIB define
- Removed mandelbrot.c that was forgotten in last commit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2010-01-15 06:17:56 +00:00
parent 7719d297f2
commit 4794891c97
4 changed files with 7 additions and 934 deletions

View file

@ -24,6 +24,12 @@
#define BUTTON_YIELD_TIMEOUT (HZ / 4)
#ifdef USEGSLIB
unsigned char imgbuffer[LCD_HEIGHT];
#else
fb_data imgbuffer[LCD_HEIGHT];
#endif
/* 8 entries cyclical, last entry is black (convergence) */
#ifdef HAVE_LCD_COLOR
static const fb_data color[9] = {
@ -55,6 +61,7 @@ static const unsigned char color[9] = {
#endif
#if (LCD_DEPTH < 8)
#define USEGLIB
#else
#define UPDATE_FREQ (HZ/50)
#endif