mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
viewport FIX RED remote screens
Change-Id: I894a5c3e9053f44dee4803e9cdbbcb8f651ee318
This commit is contained in:
parent
d56d96031c
commit
ff08841ea9
1 changed files with 6 additions and 2 deletions
|
@ -182,7 +182,9 @@ void LCDFN(update_viewport)(void)
|
||||||
struct viewport* vp = LCDFN(current_viewport);
|
struct viewport* vp = LCDFN(current_viewport);
|
||||||
if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE)
|
if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE)
|
||||||
{
|
{
|
||||||
|
#ifdef LOGF_ENABLE
|
||||||
logf("%s ignored - owner update", __func__);
|
logf("%s ignored - owner update", __func__);
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int x, y;
|
int x, y;
|
||||||
|
@ -204,7 +206,9 @@ void LCDFN(update_viewport_rect)(int x, int y, int width, int height)
|
||||||
struct viewport* vp = LCDFN(current_viewport);
|
struct viewport* vp = LCDFN(current_viewport);
|
||||||
if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE)
|
if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE)
|
||||||
{
|
{
|
||||||
|
#ifdef LOGF_ENABLE
|
||||||
logf("%s ignored - owner update", __func__);
|
logf("%s ignored - owner update", __func__);
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* handle the case of viewport with differing stride from main screen */
|
/* handle the case of viewport with differing stride from main screen */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue