[PATCH xserver] fb: XYPixmap format PutImage includes all planes in depth
Keith Packard
keithp at keithp.com
Mon Oct 3 22:37:03 UTC 2016
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 <keithp at 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
More information about the xorg-devel
mailing list