[PATCH 19/43] 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 124c246..22e27f1 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, NULL)) {
 	    if (path != NULL)
 		return FALSE;
 
-- 
2.6.4.442.g545299f

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.