summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-30 16:18:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-30 16:18:34 +0100
commit2144e7f48ba49d5bdb4a0dd1fb672be9d313fb65 (patch)
tree118e281c84248f1447698af3abcc6c788329c9e9
parent0c42d5c176b27725ac8ab293c3e941be64f51613 (diff)
downloadcairo-2144e7f48ba49d5bdb4a0dd1fb672be9d313fb65.tar.gz
test: Fix coverage-abutting
Using CAIRO_OPERATOR_OVER in case causes oversampling of the coincident edges, to measure coverage we should only use ADD. :| Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--test/coverage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/coverage.c b/test/coverage.c
index 2f0e21229..12225c325 100644
--- a/test/coverage.c
+++ b/test/coverage.c
@@ -299,7 +299,7 @@ abutting (cairo_t *cr, int width, int height)
#if GENERATE_REFERENCE
cairo_paint (cr);
#else
- cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
+ cairo_set_operator (cr, CAIRO_OPERATOR_ADD);
for (y = 0; y < 16; y++) {
for (x = 0; x < 16; x++) {