forked from len0rd/rockbox
Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
59f0e7023c
commit
753b65737f
7 changed files with 9 additions and 96 deletions
|
@ -944,16 +944,13 @@ static void wvs_show(unsigned show)
|
|||
|
||||
stream_vo_set_clip(NULL);
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
draw_clear_area(0, 0, wvs.width, wvs.height);
|
||||
#endif
|
||||
|
||||
if (!(show & WVS_NODRAW)) {
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
vo_lock();
|
||||
draw_update_rect(0, 0, wvs.width, wvs.height);
|
||||
vo_unlock();
|
||||
#endif
|
||||
|
||||
stream_draw_frame(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue