HomeFreeBSD

vt: fix vt_fb_bitblt_bitmap mask corruption

Description

vt: fix vt_fb_bitblt_bitmap mask corruption

Previously the mask wrapped when one or more of the mask bytes extended
past the right edge of the window. Simplify the logic and use the same
byte offset and bit in both the pattern and mask.

PR: 199648
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2360

Details

Provenance
emasteAuthored on
Differential Revision
D2360: vt(4): Simplify vt_fb vt_fb_bitblt_bitmap
Parents
rS282246: Revert r281889:
Branches
Unknown
Tags
Unknown