mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 19:00:12 +01:00
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
6 changed files with 6 additions and 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
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue