Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfb Fix splashscreen on resolutions where text is c...
details: https://anonhg.NetBSD.org/src/rev/93a156a6baa4
branches: trunk
changeset: 338621:93a156a6baa4
user: nat <nat%NetBSD.org@localhost>
date: Mon Jun 01 20:47:59 2015 +0000
description:
Fix splashscreen on resolutions where text is centered.
This commit was approved by macallan@
diffstat:
sys/dev/wsfb/genfb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 90223102f3ab -r 93a156a6baa4 sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c Mon Jun 01 19:16:44 2015 +0000
+++ b/sys/dev/wsfb/genfb.c Mon Jun 01 20:47:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.57 2015/03/20 21:55:46 jmcneill Exp $ */
+/* $NetBSD: genfb.c,v 1.58 2015/06/01 20:47:59 nat Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.57 2015/03/20 21:55:46 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.58 2015/06/01 20:47:59 nat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -305,7 +305,7 @@
genfb_restore_palette(sc);
sc->sc_splash.si_depth = sc->sc_depth;
- sc->sc_splash.si_bits = sc->sc_console_screen.scr_ri.ri_bits;
+ sc->sc_splash.si_bits = sc->sc_console_screen.scr_ri.ri_origbits;
sc->sc_splash.si_hwbits = sc->sc_fbaddr;
sc->sc_splash.si_width = sc->sc_width;
sc->sc_splash.si_height = sc->sc_height;
Home |
Main Index |
Thread Index |
Old Index