summaryrefslogtreecommitdiff
path: root/fb/fbtrap.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-03-10 08:52:41 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-04-22 22:11:11 -0400
commit1b96a99d8edd9016bc4a35348f9d5ddb45832f14 (patch)
treeea8c62c05c0cec57b804c180722e7de2ec87bb2e /fb/fbtrap.c
parent04635069554859ec67003b89f56965421cba7f52 (diff)
fb: Call miCompositeSourceValidate() on the source in fbShapes()
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Soren Sandmann <ssp@redhat.com>
Diffstat (limited to 'fb/fbtrap.c')
-rw-r--r--fb/fbtrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fb/fbtrap.c b/fb/fbtrap.c
index 612fae797..b5c5a61eb 100644
--- a/fb/fbtrap.c
+++ b/fb/fbtrap.c
@@ -111,6 +111,8 @@ fbShapes (CompositeShapesFunc composite,
int src_xoff, src_yoff;
int dst_xoff, dst_yoff;
+ miCompositeSourceValidate (pSrc);
+
src = image_from_pict (pSrc, FALSE, &src_xoff, &src_yoff);
dst = image_from_pict (pDst, TRUE, &dst_xoff, &dst_yoff);