[PATCH 2/3] gl/msaa: Ignore the antialiasing property of the clip.

Martin Robinson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
If the clip suggests anti-aliasing and we don't support it,
draw the clip anyway. Currently disabling anti-aliasing does
not disable anti-aliasing on certain clips.
---
 src/cairo-gl-msaa-compositor.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/cairo-gl-msaa-compositor.c b/src/cairo-gl-msaa-compositor.c
index bfd23d4..1f3c006 100644
--- a/src/cairo-gl-msaa-compositor.c
+++ b/src/cairo-gl-msaa-compositor.c
@@ -141,11 +141,6 @@ _draw_clip (cairo_gl_context_t		*ctx,
     if (unlikely (status))
 	return status;

-    if (antialias != CAIRO_ANTIALIAS_NONE) {
-	_cairo_polygon_fini (&polygon);
-	return CAIRO_INT_STATUS_UNSUPPORTED;
-    }
-
     _cairo_traps_init (&traps);
     status = _cairo_bentley_ottmann_tessellate_polygon (&traps,
 							&polygon,
-- 
1.7.5.4

--
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.