summaryrefslogtreecommitdiffstats
path: root/minui/graphics.c
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-13 03:45:15 +0100
committerJean-Baptiste Queru <jbq@google.com>2009-11-13 03:45:15 +0100
commita43c44f31f873d7e39d3c2872f0b9531b1584f11 (patch)
tree3089f7cc4eace77d713d6a756305ee2335238f99 /minui/graphics.c
parentonly build flash_image for eng (diff)
downloadandroid_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar.gz
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar.bz2
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar.lz
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar.xz
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.tar.zst
android_bootable_recovery-a43c44f31f873d7e39d3c2872f0b9531b1584f11.zip
Diffstat (limited to '')
-rw-r--r--minui/graphics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/minui/graphics.c b/minui/graphics.c
index 06c5fdfcd..adbfc09da 100644
--- a/minui/graphics.c
+++ b/minui/graphics.c
@@ -115,6 +115,7 @@ static void set_active_framebuffer(unsigned n)
if (n > 1) return;
vi.yres_virtual = vi.yres * 2;
vi.yoffset = n * vi.yres;
+ vi.bits_per_pixel = 16;
if (ioctl(gr_fb_fd, FBIOPUT_VSCREENINFO, &vi) < 0) {
perror("active fb swap failed");
}