mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
make the plugin API frambuffer agnostic
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
This commit is contained in:
parent
5d5f8169b5
commit
12f3ed1699
25 changed files with 92 additions and 93 deletions
|
@ -821,7 +821,7 @@ static void draw_oriented_mono_bitmap_part(const unsigned char *src,
|
|||
src_y &= 7;
|
||||
src_end = src + width;
|
||||
|
||||
dst = rb->lcd_framebuffer + (LCD_WIDTH - y) + x*LCD_WIDTH;
|
||||
dst = *rb->lcd_framebuffer + (LCD_WIDTH - y) + x*LCD_WIDTH;
|
||||
do
|
||||
{
|
||||
const unsigned char *src_col = src++;
|
||||
|
@ -953,7 +953,7 @@ static void draw_oriented_alpha_bitmap_part(const unsigned char *src,
|
|||
fg_pattern = rb->lcd_get_foreground();
|
||||
/*bg_pattern=*/ rb->lcd_get_background();
|
||||
|
||||
dst_start = rb->lcd_framebuffer + (LCD_WIDTH - y - 1) + x*LCD_WIDTH;
|
||||
dst_start = *rb->lcd_framebuffer + (LCD_WIDTH - y - 1) + x*LCD_WIDTH;
|
||||
int col, row = height;
|
||||
unsigned data, pixels;
|
||||
unsigned skip_end = (stride - width);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue