From 3f7d1377256263e366c9ff1d5096da2a078f2c3e Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sat, 24 Jan 2009 08:15:37 +0000 Subject: 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 --- apps/plugins/pictureflow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; -- cgit v1.2.3