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/grayscale.c | |
parent | 0d23d0adea67050f41792b788360b54e6a41f446 (diff) | |
download | rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.tar.gz rockbox-38f1d4d285b3d05f440dade3e96ca1567575b5ee.zip |
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/grayscale.c')
-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 0231541761..f2374f7a4b 100644 --- a/apps/plugins/grayscale.c +++ b/apps/plugins/grayscale.c | |||
@@ -126,7 +126,7 @@ int main(void) | |||
126 | /* initialize the grayscale buffer: | 126 | /* initialize the grayscale buffer: |
127 | * 112 pixels wide, 7 rows (56 pixels) high, (try to) reserve | 127 | * 112 pixels wide, 7 rows (56 pixels) high, (try to) reserve |
128 | * 32 bitplanes for 33 shades of gray. (uses 25268 bytes)*/ | 128 | * 32 bitplanes for 33 shades of gray. (uses 25268 bytes)*/ |
129 | shades = gray_init_buffer(gbuf, gbuf_size, 112, 7, 32) + 1; | 129 | shades = gray_init_buffer(gbuf, gbuf_size, 112, 7, 32, NULL) + 1; |
130 | 130 | ||
131 | /* place grayscale overlay 1 row down */ | 131 | /* place grayscale overlay 1 row down */ |
132 | gray_position_display(0, 1); | 132 | gray_position_display(0, 1); |