From 38f1d4d285b3d05f440dade3e96ca1567575b5ee Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 19 May 2004 17:04:08 +0000 Subject: Adapted to new gray_init_buffer() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4650 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/grayscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/grayscale.c') 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) /* 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); -- cgit v1.2.3