diff options
author | Joey Pan <joey.pan@mediatek.com> | 2014-06-04 14:47:46 +0200 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2014-06-12 20:06:52 +0200 |
commit | ba545d7e2388e81e985a43fc86d191590b923c90 (patch) | |
tree | 8887da3181f2d44321749d146f3410a47c3a8b98 | |
parent | advance progress bar during block OTA installations (diff) | |
download | android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar.gz android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar.bz2 android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar.lz android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar.xz android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.tar.zst android_bootable_recovery-ba545d7e2388e81e985a43fc86d191590b923c90.zip |
-rw-r--r-- | minui/graphics_fbdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/minui/graphics_fbdev.c b/minui/graphics_fbdev.c index a91ea8726..c0c1bcb1a 100644 --- a/minui/graphics_fbdev.c +++ b/minui/graphics_fbdev.c @@ -130,6 +130,8 @@ static gr_surface fbdev_init(minui_backend* backend) { return NULL; } + memset(bits, 0, fi.smem_len); + gr_framebuffer[0].width = vi.xres; gr_framebuffer[0].height = vi.yres; gr_framebuffer[0].row_bytes = fi.line_length; |