summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDaniel Stone <daniel.stone@nokia.com>2006-07-19 16:18:28 -0400
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-07-21 15:17:35 -0400
commit27df2eda795681c9f05e2907d74e2c102d3441e4 (patch)
treec3ca5bf65305b22cd006e4c1932326ad22dc78ce /hw
parent00b24f119f03da86fa98ffea545c5b041810ce53 (diff)
fix KdXvCopyPackedData to actually work
Remove extraneous bit shift in KdXvCopyPackedData, so it's actually useful.
Diffstat (limited to 'hw')
-rw-r--r--hw/kdrive/src/kxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/src/kxv.c b/hw/kdrive/src/kxv.c
index 8580dc2ee..4e672f16f 100644
--- a/hw/kdrive/src/kxv.c
+++ b/hw/kdrive/src/kxv.c
@@ -1814,7 +1814,7 @@ KdXVCopyPackedData(KdScreenInfo *screen, CARD8 *src, CARD8 *dst, int randr,
src = src + top * srcDown + left * srcRight;
w >>= 1;
- srcRight >>= 1;
+ /* srcRight >>= 1; */
srcNext = srcRight >> 1;
while (h--) {
CARD16 *s = (CARD16 *)src;