1
0
Fork 0
forked from len0rd/rockbox

use different function to resize bitmap for greylib.

it is confusing that same function expects different data type (fb_data or unsigned char) depending on the target.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28233 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-10-10 14:24:11 +00:00
parent 8ad85ba291
commit 38e88f35f4
3 changed files with 54 additions and 16 deletions

View file

@ -27,8 +27,10 @@
#include "../imageviewer.h"
#if defined(HAVE_LCD_COLOR)
#ifdef HAVE_LCD_COLOR
#define resize_bitmap smooth_resize_bitmap
#elif defined(USEGSLIB)
#define resize_bitmap grey_resize_bitmap
#else
#define resize_bitmap simple_resize_bitmap
#endif