summaryrefslogtreecommitdiffstats
path: root/commands/splash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-09-26 11:59:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-04 17:22:09 +0200
commit5eb89cea2a4e00288323e3c3daf3c47d4c80d652 (patch)
treec39955a04f8254c0bb49629cdea8648b5a3c798d /commands/splash.c
parent9a048064e4803340cfe997dada9f09b00077a1f5 (diff)
downloadbarebox-5eb89cea2a4e00288323e3c3daf3c47d4c80d652.tar.gz
barebox-5eb89cea2a4e00288323e3c3daf3c47d4c80d652.tar.xz
gui: blit the surface on demand
Do not blit the surface everytime we write an image As we want to able to render multiple image this will cause 1 blit per image; Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/splash.c')
-rw-r--r--commands/splash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/splash.c b/commands/splash.c
index 02928094c5..65dd530196 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -68,6 +68,8 @@ static int do_splash(int argc, char *argv[])
if (image_renderer_file(&sc, &s, image_file) < 0)
ret = 1;
+ screen_blit(&sc);
+
fb_close(&sc);
return ret;