Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/rasops Fix factorization fallout; pointer for shadow...



details:   https://anonhg.NetBSD.org/src/rev/8830ba042c55
branches:  trunk
changeset: 458041:8830ba042c55
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jul 28 02:56:53 2019 +0000

description:
Fix factorization fallout; pointer for shadow framebuffer should be
rolled back before drawing underline.

diffstat:

 sys/dev/rasops/rasops_putchar_width.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d70ed1f02d7f -r 8830ba042c55 sys/dev/rasops/rasops_putchar_width.h
--- a/sys/dev/rasops/rasops_putchar_width.h     Sun Jul 28 02:51:38 2019 +0000
+++ b/sys/dev/rasops/rasops_putchar_width.h     Sun Jul 28 02:56:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops_putchar_width.h,v 1.2 2019/07/26 02:31:09 rin Exp $ */
+/* $NetBSD: rasops_putchar_width.h,v 1.3 2019/07/28 02:56:53 rin Exp $ */
 
 /* NetBSD: rasops8.c,v 1.41 2019/07/25 03:02:44 rin Exp  */
 /*-
@@ -244,6 +244,7 @@
                DELTA(rp, -(ri->ri_stride << 1), uint32_t *);
                SUBST_STAMP(rp, stamp[FILLED_STAMP]);
                if (ri->ri_hwbits)
+                       DELTA(hrp, -(ri->ri_stride << 1), uint32_t *);
                        SUBST_STAMP(hrp, stamp[FILLED_STAMP]);
        }
 



Home | Main Index | Thread Index | Old Index