forked from len0rd/rockbox
Make scaler output truly pluggable, add an 8-bit greyscale output to
pluginlib for use with greylib, and add source for a test scaled bmp viewer using greylib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f7fa7e5ad5
commit
9058620849
17 changed files with 88 additions and 42 deletions
|
|
@ -2967,7 +2967,7 @@ static int load_bitmap( const char *file )
|
|||
|
||||
bm.data = (char*)save_buffer;
|
||||
ret = rb->read_bmp_file( file, &bm, ROWS*COLS*sizeof( fb_data ),
|
||||
FORMAT_NATIVE );
|
||||
FORMAT_NATIVE, NULL );
|
||||
|
||||
if((bm.width > COLS ) || ( bm.height > ROWS ))
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue