[cairo] [PATCH 36/41] drm/i915: fixed call to _cairo_botor_scan_converter_add_polygon()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Thu Dec 10 14:17:12 PST 2015
The converter's add_polygon() call vector isn't in the cairo_scan_converter_t
structure anymore, so we need to call it directly.
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-i915-surface.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c
index d64fab5..bb463d9 100644
--- a/src/drm/cairo-drm-i915-surface.c
+++ b/src/drm/cairo-drm-i915-surface.c
@@ -1850,7 +1850,8 @@ _composite_polygon_spans (void *closure,
_cairo_botor_scan_converter_init (&converter, &box, info->fill_rule);
- status = converter.base.add_polygon (&converter.base, &info->polygon);
+ status = _cairo_botor_scan_converter_add_polygon(&converter, &info->polygon);
+
if (likely (status == CAIRO_STATUS_SUCCESS))
status = converter.base.generate (&converter.base, renderer);
--
2.6.4.442.g545299f
More information about the cairo
mailing list