diff options
| author | rin <rin@NetBSD.org> | 2019-07-29 17:22:19 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2019-07-29 17:22:19 +0000 |
| commit | eb5a349bfe23f6b0a3425b4b720d9ac32474ef3c (patch) | |
| tree | 5a8fc5211baa698989630e588b87d991e6057b8e /sys/dev/rasops | |
| parent | 055aa67cc71b3e6336faba42d82d43cee54d0d4e (diff) | |
Try to fix problem reported by ryoon:
http://mail-index.netbsd.org/source-changes-d/2019/07/29/msg011516.html
There are apparent bugs for shadow framebuffer. Sorry for the breakage.
Diffstat (limited to 'sys/dev/rasops')
| -rw-r--r-- | sys/dev/rasops/rasops1_putchar_width.h | 6 | ||||
| -rw-r--r-- | sys/dev/rasops/rasops_putchar_width.h | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/rasops/rasops1_putchar_width.h b/sys/dev/rasops/rasops1_putchar_width.h index 592a9faab5f..9f94b7dc1cf 100644 --- a/sys/dev/rasops/rasops1_putchar_width.h +++ b/sys/dev/rasops/rasops1_putchar_width.h @@ -1,4 +1,4 @@ -/* $NetBSD: rasops1_putchar_width.h,v 1.1 2019/07/29 02:57:41 rin Exp $ */ +/* $NetBSD: rasops1_putchar_width.h,v 1.2 2019/07/29 17:22:19 rin Exp $ */ /* NetBSD: rasops1.c,v 1.28 2019/07/25 03:02:44 rin Exp */ /*- @@ -94,9 +94,7 @@ PUTCHAR_WIDTH(RASOPS_WIDTH)(void *cookie, int row, int col, u_int uc, long attr) while (height--) { *rp = bg; DELTA(rp, rs, COPY_UNIT *); - } - if (ri->ri_hwbits) { - while (height--) { + if (ri->ri_hwbits) { *hrp = bg; DELTA(hrp, rs, COPY_UNIT *); } diff --git a/sys/dev/rasops/rasops_putchar_width.h b/sys/dev/rasops/rasops_putchar_width.h index 746b97a93ed..780921312d2 100644 --- a/sys/dev/rasops/rasops_putchar_width.h +++ b/sys/dev/rasops/rasops_putchar_width.h @@ -1,4 +1,4 @@ -/* $NetBSD: rasops_putchar_width.h,v 1.7 2019/07/29 03:01:09 rin Exp $ */ +/* $NetBSD: rasops_putchar_width.h,v 1.8 2019/07/29 17:22:19 rin Exp $ */ /* NetBSD: rasops8.c,v 1.41 2019/07/25 03:02:44 rin Exp */ /*- @@ -252,9 +252,7 @@ PUTCHAR_WIDTH(RASOPS_DEPTH, RASOPS_WIDTH)(void *cookie, int row, int col, while (height--) { SUBST_STAMP(rp, 0); DELTA(rp, ri->ri_stride, STAMP_TYPE *); - } - if (ri->ri_hwbits) { - while (height--) { + if (ri->ri_hwbits) { SUBST_STAMP(hrp, 0); DELTA(hrp, ri->ri_stride, STAMP_TYPE *); } |
