forked from len0rd/rockbox
fix for targets using greylib in pictureflow, they need to set drawmode for both normal and greylib drawing, so using MYLCD for that was inappropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19836 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7215a67e64
commit
3f7d137725
1 changed files with 2 additions and 1 deletions
|
|
@ -1989,8 +1989,9 @@ int main(void)
|
||||||
old_drawmode = rb->lcd_get_drawmode();
|
old_drawmode = rb->lcd_get_drawmode();
|
||||||
#ifdef USEGSLIB
|
#ifdef USEGSLIB
|
||||||
grey_show(true);
|
grey_show(true);
|
||||||
|
grey_set_drawmode(DRMODE_FG);
|
||||||
#endif
|
#endif
|
||||||
MYLCD(set_drawmode)(DRMODE_FG);
|
rb->lcd_set_drawmode(DRMODE_FG);
|
||||||
while (true) {
|
while (true) {
|
||||||
current_update = *rb->current_tick;
|
current_update = *rb->current_tick;
|
||||||
frames++;
|
frames++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue