Adapted to new gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4650 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0d23d0adea
commit
38f1d4d285
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue