[cairo] [PATCH 23/41] drm/i915: fixed calls to _cairo_composite_rectangles_init_for_paint()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Thu Dec 10 14:16:59 PST 2015
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-i915-surface.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c
index 0e32ee4..e1990f6 100644
--- a/src/drm/cairo-drm-i915-surface.c
+++ b/src/drm/cairo-drm-i915-surface.c
@@ -1888,10 +1888,12 @@ i915_surface_fill_with_alpha (void *abstract_dst,
cairo_int_status_t status;
status = _cairo_composite_rectangles_init_for_fill (&extents,
- dst->intel.drm.width,
- dst->intel.drm.height,
- op, source, path,
+ &(dst->intel.drm.base),
+ op,
+ source,
+ path,
clip);
+
if (unlikely (status))
return status;
@@ -2002,9 +2004,9 @@ i915_surface_paint_with_alpha (void *abstract_dst,
cairo_status_t status;
status = _cairo_composite_rectangles_init_for_paint (&extents,
- dst->intel.drm.width,
- dst->intel.drm.height,
- op, source,
+ &(dst->intel.drm.base),
+ op,
+ source,
clip);
if (unlikely (status))
return status;
--
2.6.4.442.g545299f
More information about the cairo
mailing list