fix KdXvCopyPackedData to actually work

Remove extraneous bit shift in KdXvCopyPackedData, so it's actually
useful.
This commit is contained in:
Daniel Stone 2006-07-19 16:18:28 -04:00 committed by Daniel Stone
parent 00b24f119f
commit 27df2eda79

View File

@ -1814,7 +1814,7 @@ KdXVCopyPackedData(KdScreenInfo *screen, CARD8 *src, CARD8 *dst, int randr,
src = src + top * srcDown + left * srcRight; src = src + top * srcDown + left * srcRight;
w >>= 1; w >>= 1;
srcRight >>= 1; /* srcRight >>= 1; */
srcNext = srcRight >> 1; srcNext = srcRight >> 1;
while (h--) { while (h--) {
CARD16 *s = (CARD16 *)src; CARD16 *s = (CARD16 *)src;