summaryrefslogtreecommitdiff
path: root/fb/fbimage.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-10-03 15:37:03 -0700
committerAdam Jackson <ajax@redhat.com>2016-10-04 12:15:55 -0400
commit2b6a068d21997ca812e665ed058e72eb4626c129 (patch)
treef6b2578ec99b928ac2434c065fece00a400ee7e5 /fb/fbimage.c
parentc9b8ce73927a43ed82b267d1c1985445f24827cc (diff)
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>
Diffstat (limited to 'fb/fbimage.c')
-rw-r--r--fb/fbimage.c2
1 files changed, 1 insertions, 1 deletions
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: