summaryrefslogtreecommitdiffstats
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-02 23:31:09 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-02 23:31:09 +0000
commit8493f5bcf6bd9142f1730e8f3a8126294800826d (patch)
tree4c0ca8d540b1be9144026838eddefe1c1e703c24 /apps/plugins/greyscale.c
parent8abe9cffe4b495f64a0a440c9d99125115b9a002 (diff)
downloadrockbox-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.c3
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;