diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-04 14:10:43 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-23 10:06:16 -0500 |
commit | 830436a282e49caea4bd15bfa8c133b4c5d422dd (patch) | |
tree | b331ca6e8755e60de69e1a834adec461ee5a9168 /apps/gui/skin_engine/skin_parser.c | |
parent | 9368844ad17a11f28763cc7038d05bd51ddd970e (diff) | |
download | rockbox-830436a282e49caea4bd15bfa8c133b4c5d422dd.tar.gz rockbox-830436a282e49caea4bd15bfa8c133b4c5d422dd.zip |
skin engine: Remove viewport_colour viewport field
Yet again, no need to store the viewport because we already know
it -- and this time the render code is obviously relying on that
assumption.
Change-Id: Id5eb7cd9999fbe1efccd54bd8f0fd3c8a3011c8e
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index f59ae09e54..9fb15d8e56 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -747,7 +747,6 @@ static int parse_viewportcolour(struct skin_element *element, | |||
747 | &colour->colour)) | 747 | &colour->colour)) |
748 | return -1; | 748 | return -1; |
749 | } | 749 | } |
750 | colour->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp); | ||
751 | token->value.data = PTRTOSKINOFFSET(skin_buffer, colour); | 750 | token->value.data = PTRTOSKINOFFSET(skin_buffer, colour); |
752 | if (element->line == curr_viewport_element->line) | 751 | if (element->line == curr_viewport_element->line) |
753 | { | 752 | { |