summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/fb.c4
-rw-r--r--sys/arch/sparc64/dev/fb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c
index be3fe45602d..07a27db4c2e 100644
--- a/sys/arch/sparc/dev/fb.c
+++ b/sys/arch/sparc/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.24 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: fb.c,v 1.25 2003/06/28 14:26:16 miod Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -309,7 +309,7 @@ fbwscons_init(sf, isconsole)
int cols, rows;
/* ri_hw and ri_bits must have already been setup by caller */
- sf->sf_ro.ri_flg = RI_CENTER;
+ sf->sf_ro.ri_flg = RI_CENTER | RI_FULLCLEAR;
if (!isconsole)
sf->sf_ro.ri_flg |= RI_CLEAR;
sf->sf_ro.ri_depth = sf->sf_depth;
diff --git a/sys/arch/sparc64/dev/fb.c b/sys/arch/sparc64/dev/fb.c
index c3a16df3b7c..b0fdacf7079 100644
--- a/sys/arch/sparc64/dev/fb.c
+++ b/sys/arch/sparc64/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.2 2003/06/17 17:35:40 miod Exp $ */
+/* $OpenBSD: fb.c,v 1.3 2003/06/28 14:26:17 miod Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -149,7 +149,7 @@ fbwscons_init(struct sunfb *sf, int flags)
int cols, rows;
/* ri_hw and ri_bits must have already been setup by caller */
- sf->sf_ro.ri_flg = RI_CENTER | flags;
+ sf->sf_ro.ri_flg = RI_CENTER | RI_FULLCLEAR | flags;
sf->sf_ro.ri_depth = sf->sf_depth;
sf->sf_ro.ri_stride = sf->sf_linebytes;
sf->sf_ro.ri_width = sf->sf_width;