diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2006-02-22 00:07:17 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2006-02-22 00:07:17 +0000 |
| commit | e209a02f970eac4b8a2f1ef1d9bec193dd2babe4 (patch) | |
| tree | 6b82f90776ad78999e5ee19c26de44eb2319963c | |
| parent | 08d09ff6c50b40e2491b8a025f461c976044c47a (diff) | |
Redraw the splash screen when text is disabled via the following command:
wsconsctl -d -w splash.enable=1
| -rw-r--r-- | sys/arch/i386/bios/vesafb.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/bios/vesafb.c b/sys/arch/i386/bios/vesafb.c index 0393921060b..582080fba61 100644 --- a/sys/arch/i386/bios/vesafb.c +++ b/sys/arch/i386/bios/vesafb.c @@ -1,4 +1,4 @@ -/* $NetBSD: vesafb.c,v 1.8 2006/02/19 21:41:18 jmcneill Exp $ */ +/* $NetBSD: vesafb.c,v 1.9 2006/02/22 00:07:17 jmcneill Exp $ */ /*- * Copyright (c) 2006 Jared D. McNeill <jmcneill@invisible.ca> @@ -35,7 +35,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vesafb.c,v 1.8 2006/02/19 21:41:18 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vesafb.c,v 1.9 2006/02/22 00:07:17 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -368,9 +368,10 @@ vesafb_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct lwp *l) return 0; case WSDISPLAYIO_SSPLASH: #if defined(SPLASHSCREEN) - if (*(int *)data == 1) + if (*(int *)data == 1) { SCREEN_DISABLE_DRAWING(&vesafb_console_screen); - else + splash_render(&sc->sc_si, SPLASH_F_CENTER|SPLASH_F_FILL); + } else SCREEN_ENABLE_DRAWING(&vesafb_console_screen); return 0; #else |
