Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci don't forget to clear the screen and wipe the gl...
details: https://anonhg.NetBSD.org/src/rev/09d0eab56fa4
branches: trunk
changeset: 781026:09d0eab56fa4
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Aug 15 17:43:59 2012 +0000
description:
don't forget to clear the screen and wipe the glyph cache when re-entering
terminal emulation mode
diffstat:
sys/dev/pci/machfb.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r ca99ab83ad4b -r 09d0eab56fa4 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c Wed Aug 15 17:20:27 2012 +0000
+++ b/sys/dev/pci/machfb.c Wed Aug 15 17:43:59 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.81 2012/08/15 17:02:41 macallan Exp $ */
+/* $NetBSD: machfb.c,v 1.82 2012/08/15 17:43:59 macallan Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.81 2012/08/15 17:02:41 macallan Exp $");
+ "$NetBSD: machfb.c,v 1.82 2012/08/15 17:43:59 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1897,6 +1897,8 @@
mach64_init_engine(sc);
mach64_init_lut(sc);
mach64_modeswitch(sc, sc->sc_my_mode);
+ mach64_clearscreen(sc);
+ glyphcache_wipe(&sc->sc_gc);
vcons_redraw_screen(ms);
}
}
Home |
Main Index |
Thread Index |
Old Index