This call is required for correct operation of the Render extension,
in particular it is necessary for software cursors and Composite to
work correctly.

Signed-off-by: Keith Packard <[email protected]>
---
 glamor/glamor_render.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c
index cdf8eff..ae6f769 100644
--- a/glamor/glamor_render.c
+++ b/glamor/glamor_render.c
@@ -1597,6 +1597,10 @@ _glamor_composite(CARD8 op,
     DrawablePtr saved_mask_drawable;
     int force_clip = 0;
 
+    miCompositeSourceValidate(source);
+    if (mask)
+        miCompositeSourceValidate(mask);
+
     dest_pixmap_priv = glamor_get_pixmap_private(dest_pixmap);
 
     if (source->pDrawable) {
-- 
1.9.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to