diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-05-19 17:04:08 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-05-19 17:04:08 +0000 |
| commit | 38f1d4d285b3d05f440dade3e96ca1567575b5ee (patch) | |
| tree | d7e78325a3cd7d538f5fef68fd559399bca6046a /apps/plugins | |
| parent | 0d23d0adea67050f41792b788360b54e6a41f446 (diff) | |
| download | rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.zip rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.tar.gz rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.tar.bz2 rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.tar.xz | |
Adapted to new gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4650 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/grayscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/grayscale.c b/apps/plugins/grayscale.c index 0231541..f2374f7 100644 --- a/apps/plugins/grayscale.c +++ b/apps/plugins/grayscale.c @@ -126,7 +126,7 @@ int main(void) /* initialize the grayscale buffer: * 112 pixels wide, 7 rows (56 pixels) high, (try to) reserve * 32 bitplanes for 33 shades of gray. (uses 25268 bytes)*/ - shades = gray_init_buffer(gbuf, gbuf_size, 112, 7, 32) + 1; + shades = gray_init_buffer(gbuf, gbuf_size, 112, 7, 32, NULL) + 1; /* place grayscale overlay 1 row down */ gray_position_display(0, 1); |