summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.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/cube.c
parent8abe9cffe4b495f64a0a440c9d99125115b9a002 (diff)
downloadrockbox-8493f5bcf6bd9142f1730e8f3a8126294800826d.tar.gz
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/cube.c')
-rw-r--r--apps/plugins/cube.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 966111001a..dfc6bb329b 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -555,7 +555,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
xlcd_init(rb);
#elif defined(USE_GSLIB)
gbuf = (unsigned char *)rb->plugin_get_buffer(&gbuf_size);
- if (!grey_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, LCD_HEIGHT, NULL))
+ if (!grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED,
+ LCD_WIDTH, LCD_HEIGHT, NULL))
{
rb->splash(HZ, "Couldn't init greyscale display");
return PLUGIN_ERROR;