mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
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
This commit is contained in:
parent
9368844ad1
commit
830436a282
3 changed files with 2 additions and 8 deletions
|
|
@ -747,7 +747,6 @@ static int parse_viewportcolour(struct skin_element *element,
|
|||
&colour->colour))
|
||||
return -1;
|
||||
}
|
||||
colour->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp);
|
||||
token->value.data = PTRTOSKINOFFSET(skin_buffer, colour);
|
||||
if (element->line == curr_viewport_element->line)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue