summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-11-06 16:40:59 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-11-06 16:40:59 +0000
commit890ed0e082e048fa8daf48229b40558381bd131d (patch)
treedc994efb491289999e45663b2570f38da3f92772 /exa
parent70aedcf32a0c924fd073f5b36d20813e8323026b (diff)
Fix a bug where a system memory pixmap got a wrong address if memcpy()
fallback was used for downloading from screen.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.c2
-rw-r--r--exa/exa_accel.c2
-rw-r--r--exa/exa_migration.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 4d2014d44..f865e233e 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -156,7 +156,7 @@ exaPixmapSave (ScreenPtr pScreen, ExaOffscreenArea *area)
}
pPixmap->devKind = dst_pitch;
- pPixmap->devPrivate.ptr = dst;
+ pPixmap->devPrivate.ptr = pExaPixmap->devPrivate.ptr;
pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
pExaPixmap->area = NULL;
/* Mark it dirty now, to say that there is important data in the
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 4d2014d44..f865e233e 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -156,7 +156,7 @@ exaPixmapSave (ScreenPtr pScreen, ExaOffscreenArea *area)
}
pPixmap->devKind = dst_pitch;
- pPixmap->devPrivate.ptr = dst;
+ pPixmap->devPrivate.ptr = pExaPixmap->devPrivate.ptr;
pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
pExaPixmap->area = NULL;
/* Mark it dirty now, to say that there is important data in the
diff --git a/exa/exa_migration.c b/exa/exa_migration.c
index 4d2014d44..f865e233e 100644
--- a/exa/exa_migration.c
+++ b/exa/exa_migration.c
@@ -156,7 +156,7 @@ exaPixmapSave (ScreenPtr pScreen, ExaOffscreenArea *area)
}
pPixmap->devKind = dst_pitch;
- pPixmap->devPrivate.ptr = dst;
+ pPixmap->devPrivate.ptr = pExaPixmap->devPrivate.ptr;
pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
pExaPixmap->area = NULL;
/* Mark it dirty now, to say that there is important data in the