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:
parent
70aedcf32a
commit
890ed0e082
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue