summaryrefslogtreecommitdiffstats
path: root/commands/splash.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-09 09:33:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-15 07:25:00 +0200
commit592ae690f5fa0e0a07ad4390ef3b15cd0f465a80 (patch)
tree96adad58ef660aed49687444783993461526c221 /commands/splash.c
parent0011d7c1fc43d51359f2f966215049e0ee8f5b62 (diff)
downloadbarebox-592ae690f5fa0e0a07ad4390ef3b15cd0f465a80.tar.gz
barebox-592ae690f5fa0e0a07ad4390ef3b15cd0f465a80.tar.xz
graphic_utils: Add a common namespace to functions
This adds a common namespace to the graphic functions. We use gu_ for graphic_utils. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/splash.c')
-rw-r--r--commands/splash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/splash.c b/commands/splash.c
index 077c0e4b03..04562e303a 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -61,19 +61,19 @@ static int do_splash(int argc, char *argv[])
if (sc.offscreenbuf) {
if (do_bg)
- memset_pixel(&sc.info, sc.offscreenbuf, bg_color,
+ gu_memset_pixel(&sc.info, sc.offscreenbuf, bg_color,
sc.s.width * sc.s.height);
else
memcpy(sc.offscreenbuf, sc.fb, sc.fbsize);
} else if (do_bg) {
- memset_pixel(&sc.info, sc.fb, bg_color, sc.s.width * sc.s.height);
+ gu_memset_pixel(&sc.info, sc.fb, bg_color, sc.s.width * sc.s.height);
}
ret = image_renderer_file(&sc, &s, image_file);
if (ret > 0)
ret = 0;
- screen_blit(&sc);
+ gu_screen_blit(&sc);
fb_close(&sc);