diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-17 15:17:53 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-17 15:20:19 +0100 |
commit | f805b492d55525d6bef66329ab8edd15de7e2239 (patch) | |
tree | 7b6cdddc05a534bf1e3a53671015623f1bbf58ad /apps/gui/skin_engine/skin_display.c | |
parent | c6ee9dc8833814bf628ea5ce53e91c60067c5a06 (diff) | |
download | rockbox-f805b492d55525d6bef66329ab8edd15de7e2239.tar.gz rockbox-f805b492d55525d6bef66329ab8edd15de7e2239.zip |
Fix red for !HAVE_ALBUMART targets (c6ee9dc883)
Change-Id: Icdd6e051e5f9b31b287d53d9480f445df884d9d1
Diffstat (limited to 'apps/gui/skin_engine/skin_display.c')
-rw-r--r-- | apps/gui/skin_engine/skin_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index cef38892ff..3e3f203f9a 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c | |||
@@ -637,6 +637,7 @@ void draw_peakmeters(struct gui_wps *gwps, int line_number, | |||
637 | } | 637 | } |
638 | } | 638 | } |
639 | 639 | ||
640 | #ifdef HAVE_ALBUMART | ||
640 | /* Draw the album art bitmap from the given handle ID onto the given WPS. | 641 | /* Draw the album art bitmap from the given handle ID onto the given WPS. |
641 | Call with clear = true to clear the bitmap instead of drawing it. */ | 642 | Call with clear = true to clear the bitmap instead of drawing it. */ |
642 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) | 643 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) |
@@ -706,6 +707,7 @@ void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) | |||
706 | gwps->display->set_drawmode(DRMODE_SOLID); | 707 | gwps->display->set_drawmode(DRMODE_SOLID); |
707 | } | 708 | } |
708 | } | 709 | } |
710 | #endif | ||
709 | 711 | ||
710 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) | 712 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) |
711 | { | 713 | { |