[cairo] [PATCH 27/41] drm/i915: fixed call to _cairo_composite_rectangles_init_for_mask()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Thu Dec 10 14:17:03 PST 2015
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-i915-surface.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c
index 4e3fec4..7dc32fa 100644
--- a/src/drm/cairo-drm-i915-surface.c
+++ b/src/drm/cairo-drm-i915-surface.c
@@ -2101,9 +2101,11 @@ i915_surface_mask (void *abstract_dst,
}
status = _cairo_composite_rectangles_init_for_mask (&extents,
- dst->intel.drm.width,
- dst->intel.drm.height,
- op, source, mask, clip);
+ &(dst->intel.drm.base),
+ op,
+ source,
+ mask,
+ clip);
if (unlikely (status))
return status;
--
2.6.4.442.g545299f
More information about the cairo
mailing list