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:
parent
0463506955
commit
1b96a99d8e
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue