diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-08-02 00:22:01 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-02 00:22:01 +0000 |
commit | 628d20a6109bf65175e7c4b1bd9477cdccfd7437 (patch) | |
tree | a5bdef444b5873a4d24421dcfaf4f94dedbec38c /apps/plugins/mandelbrot.c | |
parent | 8cc73f152b510c946a0285ac010639ebd6668ebc (diff) | |
download | rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.gz rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.zip |
Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mandelbrot.c')
-rw-r--r-- | apps/plugins/mandelbrot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mandelbrot.c b/apps/plugins/mandelbrot.c index bd0994a5ba..3841e2625a 100644 --- a/apps/plugins/mandelbrot.c +++ b/apps/plugins/mandelbrot.c | |||
@@ -474,7 +474,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
474 | /* initialize the grayscale buffer: | 474 | /* initialize the grayscale buffer: |
475 | * 8 bitplanes for 9 shades of gray.*/ | 475 | * 8 bitplanes for 9 shades of gray.*/ |
476 | grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8, | 476 | grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8, |
477 | 8, NULL) + 1; | 477 | 8, 0, NULL) + 1; |
478 | if (grayscales != 9) { | 478 | if (grayscales != 9) { |
479 | rb->snprintf(buff, sizeof(buff), "%d", grayscales); | 479 | rb->snprintf(buff, sizeof(buff), "%d", grayscales); |
480 | rb->lcd_puts(0, 1, buff); | 480 | rb->lcd_puts(0, 1, buff); |