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:
Ben Benson
2025-08-27 16:47:48 +01:00
committed by Dom Cobley
parent f261c831ed
commit 873fd64cca

View File

@@ -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, &region);
// Enforce only one draw of the logo
n = 1;
}
fb_do_show_logo(info, &image, rotate, n);