diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-02 23:31:09 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-02 23:31:09 +0000 |
commit | 8493f5bcf6bd9142f1730e8f3a8126294800826d (patch) | |
tree | 4c0ca8d540b1be9144026838eddefe1c1e703c24 /apps/plugins/greyscale.c | |
parent | 8abe9cffe4b495f64a0a440c9d99125115b9a002 (diff) | |
download | rockbox-8493f5bcf6bd9142f1730e8f3a8126294800826d.tar.gz rockbox-8493f5bcf6bd9142f1730e8f3a8126294800826d.tar.bz2 rockbox-8493f5bcf6bd9142f1730e8f3a8126294800826d.zip |
Greyscale library: Preparations for a gamma measurement plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r-- | apps/plugins/greyscale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c index aa69f18349..522a81fc28 100644 --- a/apps/plugins/greyscale.c +++ b/apps/plugins/greyscale.c @@ -199,7 +199,8 @@ int main(void) /* initialize the greyscale buffer: Archos: 112 pixels wide, 7 rows (56 pixels) high. H1x0: 160 pixels wide, 30 rows (120 pixels) high. */ - if (!grey_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, GFX_HEIGHT, NULL)) + if (!grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED, + LCD_WIDTH, GFX_HEIGHT, NULL)) { rb->splash(HZ, "Not enough memory."); return PLUGIN_ERROR; |