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:
Aidan MacDonald 2022-10-04 14:10:43 +01:00
parent 9368844ad1
commit 830436a282
3 changed files with 2 additions and 8 deletions

View file

@ -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)
{