diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-04 14:08:24 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-23 09:44:23 -0500 |
commit | 9368844ad17a11f28763cc7038d05bd51ddd970e (patch) | |
tree | 9dedcaad73058b3bed6b65b6723ab774e1d8cc74 /apps/gui/skin_engine/skin_render.c | |
parent | f242b0ec6ccfcf97289929e75241c1bcfc2fd94f (diff) | |
download | rockbox-9368844ad17a11f28763cc7038d05bd51ddd970e.tar.gz rockbox-9368844ad17a11f28763cc7038d05bd51ddd970e.zip |
skin engine: Remove progressbar viewport field
Again, we don't need to store the viewport in the progressbar
struct because it's known at render time.
Change-Id: I12514ceaace7c897194b18929364340871ef4635
Diffstat (limited to 'apps/gui/skin_engine/skin_render.c')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index e8f081e7f5..07d8a13658 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -241,7 +241,7 @@ static bool do_non_text_tags(struct gui_wps *gwps, struct skin_draw_info *info, | |||
241 | { | 241 | { |
242 | struct progressbar *bar = (struct progressbar*)SKINOFFSETTOPTR(skin_buffer, token->value.data); | 242 | struct progressbar *bar = (struct progressbar*)SKINOFFSETTOPTR(skin_buffer, token->value.data); |
243 | if (do_refresh) | 243 | if (do_refresh) |
244 | draw_progressbar(gwps, info->line_number, bar); | 244 | draw_progressbar(gwps, info->skin_vp, info->line_number, bar); |
245 | } | 245 | } |
246 | break; | 246 | break; |
247 | case SKIN_TOKEN_IMAGE_DISPLAY: | 247 | case SKIN_TOKEN_IMAGE_DISPLAY: |