forked from len0rd/rockbox
Greyscale library: Preparations for a gamma measurement plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8abe9cffe4
commit
8493f5bcf6
12 changed files with 41 additions and 24 deletions
|
|
@ -199,7 +199,8 @@ int main(void)
|
|||
/* initialize the greyscale buffer:
|
||||
Archos: 112 pixels wide, 7 rows (56 pixels) high.
|
||||
H1x0: 160 pixels wide, 30 rows (120 pixels) high. */
|
||||
if (!grey_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, GFX_HEIGHT, NULL))
|
||||
if (!grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED,
|
||||
LCD_WIDTH, GFX_HEIGHT, NULL))
|
||||
{
|
||||
rb->splash(HZ, "Not enough memory.");
|
||||
return PLUGIN_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue