1
0
Fork 0
forked from len0rd/rockbox

skin engine: Remove weird special casing for Onda VX747

I have no idea what bug this could possibly "fix", and nothing
looks different on the sim after removing it. As far as I can tell
the Onda has no unique features that could cause the skin engine
to act flaky, so I'm willing to bet this workaround isn't needed.

Change-Id: I2c183786948f3fe9778e04134d04bdfe3c6db543
This commit is contained in:
Aidan MacDonald 2022-10-04 14:42:54 +01:00
parent c2220a3b50
commit 37da608f84

View file

@ -593,10 +593,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i
sizeof(tempbuf), NULL);
if (valuestr)
{
#if defined(ONDA_VX747) || defined(ONDA_VX747P)
/* Doesn't redraw (in sim at least) */
needs_update = true;
#endif
#if CONFIG_RTC
if (child->tag->flags&SKIN_RTC_REFRESH)
needs_update = needs_update || info->refresh_type&SKIN_REFRESH_DYNAMIC;
@ -609,10 +605,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i
}
break;
case TEXT:
#if defined(ONDA_VX747) || defined(ONDA_VX747P)
/* Doesn't redraw (in sim at least) */
needs_update = true;
#endif
strlcat(info->cur_align_start, SKINOFFSETTOPTR(skin_buffer, child->data),
info->buf_size - (info->cur_align_start-info->buf));
needs_update = needs_update ||