From 193e3fe816af19822486b912a773379dfa8b2119 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Mon, 23 Mar 2026 18:06:54 +0100 Subject: [PATCH] PSPLASH: fix image drawing when size matches display The current logic only draws the splash image if its dimensions are strictly smaller than the display resolution. This causes the image to be skipped if it perfectly matches the screen size. Signed-off-by: Dario Binacchi --- recipes-core/psplash/psplash-drm/basic_splash_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/psplash/psplash-drm/basic_splash_drm.c b/recipes-core/psplash/psplash-drm/basic_splash_drm.c index 6870bdf..f9d177b 100644 --- a/recipes-core/psplash/psplash-drm/basic_splash_drm.c +++ b/recipes-core/psplash/psplash-drm/basic_splash_drm.c @@ -1120,7 +1120,7 @@ main (int argc, char **argv) x = (iter->width - img_width) / 2; y = (iter->height - img_height) / 2; - if ((img_width < iter->width) && (img_height < iter->height) ) + if ((img_width <= iter->width) && (img_height <= iter->height) ) splash_draw_image_for_modeset32 (iter, x, y, img_width, img_height, (uint32_t *)pixman_image_get_data(pixman_image)); else {