forked from len0rd/rockbox
Fix starfield displaying stars in white on grayscale devices (they remain visible) when printing info message ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15316 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8431c08b7d
commit
2531d2a19c
1 changed files with 2 additions and 2 deletions
|
@ -313,7 +313,7 @@ int plugin_main(void)
|
||||||
starfield_move_and_draw(&starfield);
|
starfield_move_and_draw(&starfield);
|
||||||
|
|
||||||
#ifdef HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_foreground(LCD_WHITE);
|
rb->lcd_set_foreground(LCD_WHITE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* if a parameter is updated (by the user), we must print it */
|
/* if a parameter is updated (by the user), we must print it */
|
||||||
|
@ -324,7 +324,7 @@ int plugin_main(void)
|
||||||
"star:%d speed:%d",
|
"star:%d speed:%d",
|
||||||
starfield.nb_stars,
|
starfield.nb_stars,
|
||||||
starfield.z_move);
|
starfield.z_move);
|
||||||
#if LCD_DEPTH > 1
|
#ifdef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_foreground(LCD_WHITE);
|
rb->lcd_set_foreground(LCD_WHITE);
|
||||||
#endif
|
#endif
|
||||||
rb->lcd_putsxy(0, LCD_HEIGHT-font_h, str_buffer);
|
rb->lcd_putsxy(0, LCD_HEIGHT-font_h, str_buffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue