From f6abd409bb2b80dfa0c1c03c26bc83141f52c673 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 27 Sep 2011 13:09:48 -0700 Subject: fix problem where the screen is sometimes all black in recovery Change-Id: Ifa0b59e43eaf0bea9435aa4d96c5b0fc4f10fbfe --- minui/graphics.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'minui') diff --git a/minui/graphics.c b/minui/graphics.c index fa8e5109a..de1cfdf3b 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; } -- cgit v1.2.3