Date: Wed, 02 Mar 2022 13:44:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261751] vt mouse pointer background display bug Message-ID: <bug-261751-227-Gn0uRUIvar@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261751-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261751 --- Comment #5 from Ed Maste <emaste@freebsd.org> --- Looking further I think this may be fallout from 5e251aec86367747ac1d7086dcbb05f18ef0f167. This untested patch may fix it: diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c index 563867399e53..0cb5f356a70a 100644 --- a/sys/dev/vt/hw/vga/vt_vga.c +++ b/sys/dev/vt/hw/vga/vt_vga.c @@ -582,7 +582,7 @@ vga_bitblt_pixels_block_ncolors(struct vt_device *vd, const uint8_t *masks, /* The pixel "j" uses color "color". */ for (plan = 0; plan < 4; ++plan) plans[i * 4 + plan] |= - ((color >> plan) & 0x1) << (7 - j); + ((cons_to_vga_colors[color] >> plan) & 0x1) << (7 - j); } } } -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261751-227-Gn0uRUIvar>
