1
0
Fork 0
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:
Andrew Mahone 2009-01-24 08:15:37 +00:00
parent 7215a67e64
commit 3f7d137725

View file

@ -1989,8 +1989,9 @@ int main(void)
old_drawmode = rb->lcd_get_drawmode();
#ifdef USEGSLIB
grey_show(true);
grey_set_drawmode(DRMODE_FG);
#endif
MYLCD(set_drawmode)(DRMODE_FG);
rb->lcd_set_drawmode(DRMODE_FG);
while (true) {
current_update = *rb->current_tick;
frames++;