From 38e88f35f49ad1e3fc58fe67771ecc3412541ae8 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Sun, 10 Oct 2010 14:24:11 +0000 Subject: 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 --- apps/plugins/imageviewer/bmp/bmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugins/imageviewer') diff --git a/apps/plugins/imageviewer/bmp/bmp.c b/apps/plugins/imageviewer/bmp/bmp.c index e12cb83..6d33575 100644 --- a/apps/plugins/imageviewer/bmp/bmp.c +++ b/apps/plugins/imageviewer/bmp/bmp.c @@ -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 -- cgit v1.1