[PATCH 27/54] drm: fixed test for whether path is a box
"Enrico Weigelt, metux IT consult" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
cairo_clip_path_t doesn't have an flags field anymore, so we need to fix the test for whether a path is a box. Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]> --- src/drm/cairo-drm-i915-surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drm/cairo-drm-i915-surface.c b/src/drm/cairo-drm-i915-surface.c index a437e06..11c97d9 100644 --- a/src/drm/cairo-drm-i915-surface.c +++ b/src/drm/cairo-drm-i915-surface.c @@ -1827,7 +1827,7 @@ _clip_get_solitary_path (const cairo_clip_t *clip) cairo_clip_path_t *path = NULL; do { - if ((iter->flags & CAIRO_CLIP_PATH_IS_BOX) == 0) { + if (! _cairo_path_fixed_is_box(&(iter->path), NULL)) { if (path != NULL) return FALSE; -- 2.6.4.442.g545299f -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo