mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-03 20:40:28 +01:00
fb: XYPixmap format PutImage includes all planes in depth
Unlike GetImage, for which the provided planemask restricts the data delivered, for PutImage in XYPixmap format, all of the planes in the drawable depth are sent and those outside the plane mask are simply ignored. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
c9b8ce7392
commit
2b6a068d21
1 changed files with 1 additions and 1 deletions
|
|
@ -63,8 +63,8 @@ fbPutImage(DrawablePtr pDrawable,
|
|||
fbReplicatePixel(i, pDrawable->bitsPerPixel),
|
||||
pGC->alu,
|
||||
TRUE, x, y, w, h, src, srcStride, leftPad);
|
||||
src += srcStride * h;
|
||||
}
|
||||
src += srcStride * h;
|
||||
}
|
||||
break;
|
||||
case ZPixmap:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue