From 2b6a068d21997ca812e665ed058e72eb4626c129 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 3 Oct 2016 15:37:03 -0700 Subject: 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 Signed-off-by: Keith Packard --- fb/fbimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fb') diff --git a/fb/fbimage.c b/fb/fbimage.c index 59daa21bb..bac5de655 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: -- cgit v1.2.3