fix red
simple_resize_bitmap() can deal with greylib now but I missed that it was compiled only for LCD_DEPTH > 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28187 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e920671755
commit
2dbe569aff
1 changed files with 1 additions and 3 deletions
|
@ -26,8 +26,7 @@
|
|||
#include "file.h"
|
||||
#include "system.h"
|
||||
|
||||
#if LCD_DEPTH > 1 /* save is only available for color, resize for >1bpp */
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
#if defined(HAVE_LCD_COLOR) && LCD_DEPTH > 1
|
||||
#define LE16(x) (htole16(x))&0xff, ((htole16(x))>>8)&0xff
|
||||
#define LE32(x) (htole32(x))&0xff, ((htole32(x))>>8)&0xff, ((htole32(x))>>16)&0xff, ((htole32(x))>>24)&0xff
|
||||
/**
|
||||
|
@ -134,7 +133,6 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst)
|
|||
yr += yrstep;
|
||||
}
|
||||
}
|
||||
#endif /* LCD_DEPTH > 1 */
|
||||
|
||||
#include "wrappers.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue