summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics.c
diff options
context:
space:
mode:
authorxNUTx <nut@fun-industries.nl>2014-07-23 01:30:20 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-08-10 14:59:35 +0200
commitcd56f8cb29821430c72ae5f753bf88a3b500b2cd (patch)
tree068f2de1c48c5e1e232f735306c95072d488d218 /minuitwrp/graphics.c
parentAdd command line capabilities (diff)
downloadandroid_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar.gz
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar.bz2
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar.lz
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar.xz
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.tar.zst
android_bootable_recovery-cd56f8cb29821430c72ae5f753bf88a3b500b2cd.zip
Diffstat (limited to 'minuitwrp/graphics.c')
-rw-r--r--minuitwrp/graphics.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c
index 11446409c..79b1e9aa5 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -789,8 +789,11 @@ 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);
+#ifdef TW_SCREEN_BLANK_ON_BOOT
+ printf("TW_SCREEN_BLANK_ON_BOOT := true\n");
+ gr_fb_blank(true);
+ gr_fb_blank(false);
+#endif
if (!alloc_ion_mem(fi.line_length * vi.yres))
allocate_overlay(gr_fb_fd, gr_framebuffer);