summaryrefslogtreecommitdiff
path: root/test/mask.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mask.c')
-rw-r--r--test/mask.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/mask.c b/test/mask.c
index 6d0e4587..2f0349d8 100644
--- a/test/mask.c
+++ b/test/mask.c
@@ -81,8 +81,7 @@ mask_polygon (cairo_t *cr, int x, int y)
cr2 = cairo_create (mask_surface);
cairo_save (cr2);
- cairo_set_source_rgba (cr2, 0, 0, 0, 0); /* transparent */
- cairo_set_operator (cr2, CAIRO_OPERATOR_SOURCE);
+ cairo_set_operator (cr2, CAIRO_OPERATOR_CLEAR);
cairo_paint (cr2);
cairo_restore (cr2);