summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xlcd_draw.c
diff options
context:
space:
mode:
authorMoshe Piekarski <dev.rockbox@melachim.net>2020-10-06 13:34:04 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 12:28:48 -0400
commit12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a (patch)
treecb9850c2c4ea68b7acc816828c4d53dd7c8391f9 /apps/plugins/lib/xlcd_draw.c
parent5d5f8169b53fc989b456b0f0d7940bcf9415cbeb (diff)
downloadrockbox-12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a.tar.gz
rockbox-12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a.zip
make the plugin API frambuffer agnostic
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
Diffstat (limited to 'apps/plugins/lib/xlcd_draw.c')
-rw-r--r--apps/plugins/lib/xlcd_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/xlcd_draw.c b/apps/plugins/lib/xlcd_draw.c
index 25ef7518a1..b6ed403353 100644
--- a/apps/plugins/lib/xlcd_draw.c
+++ b/apps/plugins/lib/xlcd_draw.c
@@ -377,7 +377,7 @@ void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y,
377 377
378 src += stride * src_y + src_x; /* move starting point */ 378 src += stride * src_y + src_x; /* move starting point */
379 src_end = src + stride * height; 379 src_end = src + stride * height;
380 dst = rb->lcd_framebuffer + LCD_WIDTH * y + x; 380 dst = *rb->lcd_framebuffer + LCD_WIDTH * y + x;
381 381
382 do 382 do
383 { 383 {
@@ -444,7 +444,7 @@ void xlcd_color_bitmap_part(const unsigned char *src, int src_x, int src_y,
444 444
445 src += 3 * (stride * src_y + src_x); /* move starting point */ 445 src += 3 * (stride * src_y + src_x); /* move starting point */
446 src_end = src + 3 * stride * height; 446 src_end = src + 3 * stride * height;
447 dst = rb->lcd_framebuffer + LCD_WIDTH * y + x; 447 dst = *rb->lcd_framebuffer + LCD_WIDTH * y + x;
448 448
449 do 449 do
450 { 450 {