summaryrefslogtreecommitdiffstats
path: root/minuitwrp
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp')
-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)