Fix a bug where a system memory pixmap got a wrong address if memcpy()

fallback was used for downloading from screen.
This commit is contained in:
Thomas Hellstrom 2005-11-06 16:40:59 +00:00
parent 70aedcf32a
commit 890ed0e082
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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