[cairo] [PATCH 32/72] drm: fixed test for whether path is a box
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Tue Dec 29 01:17:10 PST 2015
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 <enrico.weigelt at gr13.net>
---
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 c465a57..3768df1 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
More information about the cairo
mailing list