summaryrefslogtreecommitdiff
path: root/apps/plugins/grayscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-08-02 00:22:01 +0000
committerJens Arnold <amiconn@rockbox.org>2006-08-02 00:22:01 +0000
commit628d20a6109bf65175e7c4b1bd9477cdccfd7437 (patch)
treea5bdef444b5873a4d24421dcfaf4f94dedbec38c /apps/plugins/grayscale.c
parent8cc73f152b510c946a0285ac010639ebd6668ebc (diff)
downloadrockbox-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/grayscale.c')
-rw-r--r--apps/plugins/grayscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/grayscale.c b/apps/plugins/grayscale.c
index 162f8d7..ad3ee4f 100644
--- a/apps/plugins/grayscale.c
+++ b/apps/plugins/grayscale.c
@@ -183,7 +183,7 @@ int main(void)
H1x0: 160 pixels wide, 30 rows (120 pixels) high, (try to) reserve
32 bitplanes for 33 shades of grey. */
shades = gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, GFX_HEIGHT/8,
- 32, NULL) + 1;
+ 32, 0, NULL) + 1;
/* place greyscale overlay 1 row down */
gray_set_position(0, 1);