mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6025186fd
commit
25123570c7
28 changed files with 194 additions and 112 deletions
|
|
@ -232,7 +232,8 @@ static void wps_draw_image(struct gui_wps *gwps, struct gui_img *img, int subima
|
|||
} else {
|
||||
display->transparent_bitmap_part((fb_data *)img->bm.data,
|
||||
0, img->subimage_height * subimage,
|
||||
STRIDE(img->bm.width, img->bm.height),
|
||||
STRIDE(display->screen_type,
|
||||
img->bm.width, img->bm.height),
|
||||
img->x, img->y, img->bm.width,
|
||||
img->subimage_height);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue