[cairo] [PATCH 25/54] drm: fixed calls to _cairo_botor_scan_converter_add_polygon()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Wed Dec 23 02:23:09 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 ++-
src/drm/cairo-drm-i965-surface.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c
index 5c8504b..a437e06 100644
--- a/src/drm/cairo-drm-i915-surface.c
+++ b/src/drm/cairo-drm-i915-surface.c
@@ -1862,7 +1862,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);
diff --git a/src/drm/cairo-drm-i965-surface.c b/src/drm/cairo-drm-i965-surface.c
index 054914b..45ba28e 100644
--- a/src/drm/cairo-drm-i965-surface.c
+++ b/src/drm/cairo-drm-i965-surface.c
@@ -1269,7 +1269,7 @@ _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