mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
Splash Screen: bug fix
Prevents fullscreen logos from being drawn multiple times. With small enough logos, the image would be drawn multiple times across the screen. Signed-off-by: Ben Benson <ben.benson@raspberrypi.com>
This commit is contained in:
@@ -552,6 +552,8 @@ static int fb_show_logo_line(struct fb_info *info, int rotate,
|
||||
region.height = info->var.yres;
|
||||
region.rop = ROP_COPY;
|
||||
info->fbops->fb_fillrect(info, ®ion);
|
||||
// Enforce only one draw of the logo
|
||||
n = 1;
|
||||
}
|
||||
|
||||
fb_do_show_logo(info, &image, rotate, n);
|
||||
|
||||
Reference in New Issue
Block a user