diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2012-10-23 17:04:37 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2012-10-23 17:04:37 +0200 |
commit | 2a757b7dffa85c30879653a1e52e33b8f4fa8806 (patch) | |
tree | 3c236676874fa870c08e25d241498953c7b079cd | |
parent | 72230cd5a7846f7a26f929262a745dc0bdc34a3d (diff) | |
download | xorg-driver-xf86-video-nouveau-2a757b7dffa85c30879653a1e52e33b8f4fa8806.tar.gz |
exa: fix comparison in download_from_screen
Presumably a copy/paste error from upload_to_screen.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
-rw-r--r-- | src/nouveau_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index 136b68f..b0d63a1 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -269,7 +269,7 @@ nouveau_exa_download_from_screen(PixmapPtr pspix, int x, int y, int w, int h, goto memcpy; nouveau_bo_wait(tmp, NOUVEAU_BO_RD, pNv->client); - if (src_pitch == tmp_pitch) { + if (dst_pitch == tmp_pitch) { memcpy(dst, tmp->map + tmp_offset, dst_pitch * lines); dst += dst_pitch * lines; } else { |