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 /hw/xfree86/exa | |
parent | 70aedcf32a0c924fd073f5b36d20813e8323026b (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 'hw/xfree86/exa')
-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 |
3 files changed, 3 insertions, 3 deletions
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 |