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 /apps/plugins/pictureflow.c | |
parent | 7215a67e643d4266d7f9702a66fb93f84cb5ff67 (diff) |
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
Diffstat (limited to 'apps/plugins/pictureflow.c')
-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) 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++; |