mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-17 00:52:38 -05:00
Xobox - clear display for all. Fixes problem on colour screens with one or both dimensions not being a multiple of 8 (e.g. the Nano's screen height) where parts of the statusbar or background image stayed on screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19958 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dca7d391f1
commit
a12c2d59ad
1 changed files with 1 additions and 2 deletions
|
|
@ -506,9 +506,8 @@ static void refresh_board (void)
|
||||||
|
|
||||||
#if LCD_DEPTH>=2
|
#if LCD_DEPTH>=2
|
||||||
rb->lcd_set_background (LCD_BLACK);
|
rb->lcd_set_background (LCD_BLACK);
|
||||||
#else
|
|
||||||
rb->lcd_clear_display ();
|
|
||||||
#endif
|
#endif
|
||||||
|
rb->lcd_clear_display ();
|
||||||
for (j = 0; j < BOARD_H; j++)
|
for (j = 0; j < BOARD_H; j++)
|
||||||
{
|
{
|
||||||
unsigned last_color = board[j][0];
|
unsigned last_color = board[j][0];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue