|
@@ -731,7 +731,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y)
|
|
|
|
|
|
bmap = (uchar *)bmp + le32_to_cpu (bmp->header.data_offset);
|
|
bmap = (uchar *)bmp + le32_to_cpu (bmp->header.data_offset);
|
|
fb = (uchar *) (lcd_base +
|
|
fb = (uchar *) (lcd_base +
|
|
- (y + height - 1) * lcd_line_length + x);
|
|
|
|
|
|
+ (y + height - 1) * lcd_line_length + x * bpix / 8);
|
|
|
|
|
|
switch (bmp_bpix) {
|
|
switch (bmp_bpix) {
|
|
case 1: /* pass through */
|
|
case 1: /* pass through */
|