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:
Keith Packard 2016-10-03 15:37:03 -07:00 committed by Adam Jackson
parent c9b8ce7392
commit 2b6a068d21
1 changed files with 1 additions and 1 deletions

View File

@ -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: