summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-12-15 16:42:41 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-15 16:42:41 +1000
commit0839041e79dbb0e629326d0f240220b33921db1a (patch)
tree8d384285b2a37bbc97469582cfba1b9945fe5a24
parent88c1c43302331e1cb8b7035bfb4677a5e7da3090 (diff)
downloadxorg-driver-xf86-video-nouveau-0839041e79dbb0e629326d0f240220b33921db1a.tar.gz
nvc0/exa: fix m2mf dfs
-rw-r--r--src/nvc0_exa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c
index 4f4e104..1938178 100644
--- a/src/nvc0_exa.c
+++ b/src/nvc0_exa.c
@@ -95,6 +95,7 @@ NVC0AccelDownloadM2MF(PixmapPtr pspix, int x, int y, int w, int h,
if (dst_pitch == line_len) {
memcpy(dst, src, dst_pitch * line_count);
+ dst += dst_pitch * line_count;
} else {
for (i = 0; i < line_count; ++i) {
memcpy(dst, src, line_len);