summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-08-04 20:17:07 +0200
committerDees Troy <dees_troy@teamw.in>2014-08-07 15:36:33 +0200
commit05d18c9a74910a61b5111674678dc9fc624e91a3 (patch)
treed4fd4f9b3e5a61c3619f636f0eb15d9b3fe89c26
parentAdd 280x280 theme (diff)
downloadandroid_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar.gz
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar.bz2
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar.lz
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar.xz
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.tar.zst
android_bootable_recovery-05d18c9a74910a61b5111674678dc9fc624e91a3.zip
Diffstat (limited to '')
-rw-r--r--minuitwrp/graphics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c
index e71693a74..11446409c 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -831,16 +831,16 @@ gr_pixel *gr_fb_data(void)
int gr_fb_blank(int blank)
{
int ret;
- if (blank)
- free_overlay(gr_fb_fd);
+ //if (blank)
+ //free_overlay(gr_fb_fd);
ret = ioctl(gr_fb_fd, FBIOBLANK, blank ? FB_BLANK_POWERDOWN : FB_BLANK_UNBLANK);
if (ret < 0)
perror("ioctl(): blank");
- if (!blank)
- allocate_overlay(gr_fb_fd, gr_framebuffer);
- return ret;
+ //if (!blank)
+ //allocate_overlay(gr_fb_fd, gr_framebuffer);
+ return ret;
}
int gr_get_surface(gr_surface* surface)