Module Name:    src
Committed By:   rin
Date:           Sun Jul 28 02:56:53 UTC 2019

Modified Files:
        src/sys/dev/rasops: rasops_putchar_width.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/rasops/rasops_putchar_width.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/rasops/rasops_putchar_width.h
diff -u src/sys/dev/rasops/rasops_putchar_width.h:1.2 src/sys/dev/rasops/rasops_putchar_width.h:1.3
--- src/sys/dev/rasops/rasops_putchar_width.h:1.2	Fri Jul 26 02:31:09 2019
+++ src/sys/dev/rasops/rasops_putchar_width.h	Sun Jul 28 02:56:53 2019
@@ -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 @@ PUTCHAR_WIDTH(RASOPS_DEPTH, RASOPS_WIDTH
 		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]);
 	}
 

Reply via email to