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/cube.c | |
| parent | 8cc73f152b510c946a0285ac010639ebd6668ebc (diff) | |
| download | rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.zip rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.gz rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.bz2 rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.xz | |
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/cube.c')
| -rw-r--r-- | apps/plugins/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index c7f7b63..3e7e7f1 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c @@ -534,7 +534,7 @@ 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 (gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, LCD_HEIGHT/8, 3, NULL) + if (gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, LCD_HEIGHT/8, 3, 0, NULL) != 3) { rb->splash(HZ, true, "Couldn't get grayscale buffer"); |