[PATCH] fb: Call miCompositeSourceValidate() on the source in fbShapes()

Søren Sandmann sandmann at cs.au.dk
Wed Mar 30 09:17:08 PDT 2011


From: Søren Sandmann Pedersen <ssp at l3000.localdomain>

Signed-off-by: Soren Sandmann <ssp at redhat.com>
---
 fb/fbtrap.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fb/fbtrap.c b/fb/fbtrap.c
index 612fae7..b5c5a61 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);
 
-- 
1.7.4



More information about the xorg-devel mailing list