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/16666658589e
branches:  trunk
changeset: 452926:16666658589e
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 b05bd1e83919 -r 16666658589e 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