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.
Signed-off-by: Keith Packard <kei...@keithp.com> --- fb/fbimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb/fbimage.c b/fb/fbimage.c index 59daa21..bac5de6 100644 --- a/fb/fbimage.c +++ b/fb/fbimage.c @@ -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: -- 2.9.3 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel