fb: Call miCompositeSourceValidate() on the source in fbShapes()

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Soren Sandmann <ssp@redhat.com>
This commit is contained in:
Søren Sandmann Pedersen 2011-03-10 08:52:41 -05:00
parent 0463506955
commit 1b96a99d8e

View File

@ -111,6 +111,8 @@ fbShapes (CompositeShapesFunc composite,
int src_xoff, src_yoff; int src_xoff, src_yoff;
int dst_xoff, dst_yoff; int dst_xoff, dst_yoff;
miCompositeSourceValidate (pSrc);
src = image_from_pict (pSrc, FALSE, &src_xoff, &src_yoff); src = image_from_pict (pSrc, FALSE, &src_xoff, &src_yoff);
dst = image_from_pict (pDst, TRUE, &dst_xoff, &dst_yoff); dst = image_from_pict (pDst, TRUE, &dst_xoff, &dst_yoff);