Fall back to info vp from sbs when intersection fails (again, r23575 changed it despite it was agreed on info vp beforehand).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23604 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c5b4482ee2
commit
6db8f952dc
1 changed files with 3 additions and 3 deletions
|
@ -388,10 +388,10 @@ void viewport_set_defaults(struct viewport *vp,
|
|||
vp->height = MIN(a->y + a->height, b->y + b->height) - vp->y;
|
||||
return;
|
||||
}
|
||||
else /* They don't overlap, so the best wrong answer is show fullscreen */
|
||||
viewport_set_fullscreen(vp, screen);
|
||||
|
||||
/* else (no overlap at all) fall back to info vp from sbs, that
|
||||
* has no redraw problems */
|
||||
}
|
||||
|
||||
/* if only one is active use it
|
||||
* or if the above check for overlapping failed, use info vp then, because
|
||||
* that doesn't give redraw problems */
|
||||
|
|
Loading…
Reference in a new issue