Date: Sun, 12 Jun 2005 22:53:07 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 78471 for review Message-ID: <200506122253.j5CMr7aH020814@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78471 Change 78471 by marcel@marcel_nfs on 2005/06/12 22:52:13 Fix the frame-buffer offset calculation for the region that we need to clear as part of scrolling the screen. Affected files ... .. //depot/projects/tty/sys/dev/vtc/vtc_te.c#4 edit Differences ... ==== //depot/projects/tty/sys/dev/vtc/vtc_te.c#4 (text+ko) ==== @@ -94,7 +94,8 @@ (lrc - ulc) * cw, (lrr - ulr - hs) * ch); vo->vo_bitblt(vo->vo_dev, BITBLT_CTOFB, 0, - (lrr - hs) * ch, (lrc - ulc) * cw, hs * ch); + vo->vo_width * (lrr - hs) * ch + ulc * cw, + (lrc - ulc) * cw, hs * ch); } return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506122253.j5CMr7aH020814>