diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2005-11-06 16:40:59 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2005-11-06 16:40:59 +0000 |
commit | 890ed0e082e048fa8daf48229b40558381bd131d (patch) | |
tree | dc994efb491289999e45663b2570f38da3f92772 | |
parent | 70aedcf32a0c924fd073f5b36d20813e8323026b (diff) |
Fix a bug where a system memory pixmap got a wrong address if memcpy()
fallback was used for downloading from screen.
-rw-r--r-- | exa/exa.c | 2 | ||||
-rw-r--r-- | exa/exa_accel.c | 2 | ||||
-rw-r--r-- | exa/exa_migration.c | 2 | ||||
-rw-r--r-- | hw/xfree86/exa/exa.c | 2 | ||||
-rw-r--r-- | hw/xfree86/exa/exa_accel.c | 2 | ||||
-rw-r--r-- | hw/xfree86/exa/exa_migration.c | 2 |
6 files changed, 6 insertions, 6 deletions
@@ -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 diff --git a/hw/xfree86/exa/exa.c b/hw/xfree86/exa/exa.c index 4d2014d44..f865e233e 100644 --- a/hw/xfree86/exa/exa.c +++ b/hw/xfree86/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/hw/xfree86/exa/exa_accel.c b/hw/xfree86/exa/exa_accel.c index 4d2014d44..f865e233e 100644 --- a/hw/xfree86/exa/exa_accel.c +++ b/hw/xfree86/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/hw/xfree86/exa/exa_migration.c b/hw/xfree86/exa/exa_migration.c index 4d2014d44..f865e233e 100644 --- a/hw/xfree86/exa/exa_migration.c +++ b/hw/xfree86/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 |