summaryrefslogtreecommitdiffstats
path: root/minui/graphics.c
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2009-06-06 01:56:07 +0200
committerRebecca Schultz Zavin <rebecca@android.com>2009-06-06 01:58:36 +0200
commit573fd7b68b789e5a4d0b3da3b499e5555e0faee0 (patch)
tree54e44b0fa41760785bba3fcadd43ed8bc15758d2 /minui/graphics.c
parentam b2ee9201: allow OTA package to provide binary instead of script (diff)
downloadandroid_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar.gz
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar.bz2
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar.lz
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar.xz
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.tar.zst
android_bootable_recovery-573fd7b68b789e5a4d0b3da3b499e5555e0faee0.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");
}