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
|
@ -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…
Reference in New Issue