diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-13 00:38:53 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-13 00:38:53 +0000 |
commit | 48983b23cc94eba8e54d6101255802cb7232fa26 (patch) | |
tree | 6ae6dd47f7f7b9435ded388b589e058f05c7f713 /apps/gui | |
parent | 77bf6bf370da1850433a3a7a3eaf4d96bd09183a (diff) |
Patch #1379076 by Stephan Wezel - reduce the ticking problem a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8226 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/gwps-common.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 8bfec1c00f..7d17eaefab 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1207,8 +1207,6 @@ static void wps_draw_image(struct gui_wps *gwps, int n) display->mono_bitmap(data->img[n].ptr, data->img[n].x, data->img[n].y, data->img[n].w, data->img[n].h); - display->update_rect(data->img[n].x, data->img[n].y, - data->img[n].w, data->img[n].h); } static void wps_display_images(struct gui_wps *gwps, bool always) { @@ -1654,7 +1652,6 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, #ifdef HAVE_LCD_BITMAP if (update_line) { wps_display_images(gwps,false); - display->update_rect(0, i*h + offset, display->width, h); } #endif } @@ -1662,7 +1659,7 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, #ifdef HAVE_LCD_BITMAP /* Display all images */ wps_display_images(gwps,true); - + display->update(); /* Now we know wether the peak meter is used. So we can enable / disable the peak meter thread */ data->peak_meter_enabled = enable_pm; @@ -2115,10 +2112,6 @@ bool gui_wps_display(void) FOR_NB_SCREENS(i) { gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); - -#ifdef HAVE_LCD_BITMAP - gui_wps[i].display->update(); -#endif } return false; } |