summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-09-27 13:09:48 -0700
committerDoug Zongker <dougz@android.com>2011-09-27 13:09:48 -0700
commitf6abd409bb2b80dfa0c1c03c26bc83141f52c673 (patch)
treecd5c8c41941c22a34d8fa8bd5d9bb7c81438370c /minui
parentfdfb636336dd848621e1a1401b1cd1ef29a0a060 (diff)
downloadbootable_recovery-f6abd409bb2b80dfa0c1c03c26bc83141f52c673.zip
bootable_recovery-f6abd409bb2b80dfa0c1c03c26bc83141f52c673.tar.gz
bootable_recovery-f6abd409bb2b80dfa0c1c03c26bc83141f52c673.tar.bz2
fix problem where the screen is sometimes all black in recovery
Change-Id: Ifa0b59e43eaf0bea9435aa4d96c5b0fc4f10fbfe
Diffstat (limited to 'minui')
-rw-r--r--minui/graphics.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/minui/graphics.c b/minui/graphics.c
index fa8e510..de1cfdf 100644
--- a/minui/graphics.c
+++ b/minui/graphics.c
@@ -336,6 +336,9 @@ int gr_init(void)
gl->enable(gl, GGL_BLEND);
gl->blendFunc(gl, GGL_SRC_ALPHA, GGL_ONE_MINUS_SRC_ALPHA);
+ gr_fb_blank(true);
+ gr_fb_blank(false);
+
return 0;
}