diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 08:15:37 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 08:15:37 +0000 |
commit | 3f7d1377256263e366c9ff1d5096da2a078f2c3e (patch) | |
tree | 673d07b9ff65587d6e6c127e1c6ce36e7d1c35e4 | |
parent | 7215a67e643d4266d7f9702a66fb93f84cb5ff67 (diff) | |
download | rockbox-3f7d1377256263e366c9ff1d5096da2a078f2c3e.tar.gz rockbox-3f7d1377256263e366c9ff1d5096da2a078f2c3e.zip |
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
-rw-r--r-- | apps/plugins/pictureflow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index 344f6ff5e0..642afa1feb 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c | |||
@@ -1989,8 +1989,9 @@ int main(void) | |||
1989 | old_drawmode = rb->lcd_get_drawmode(); | 1989 | old_drawmode = rb->lcd_get_drawmode(); |
1990 | #ifdef USEGSLIB | 1990 | #ifdef USEGSLIB |
1991 | grey_show(true); | 1991 | grey_show(true); |
1992 | grey_set_drawmode(DRMODE_FG); | ||
1992 | #endif | 1993 | #endif |
1993 | MYLCD(set_drawmode)(DRMODE_FG); | 1994 | rb->lcd_set_drawmode(DRMODE_FG); |
1994 | while (true) { | 1995 | while (true) { |
1995 | current_update = *rb->current_tick; | 1996 | current_update = *rb->current_tick; |
1996 | frames++; | 1997 | frames++; |