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>
This commit is contained in:
Chris Wilson 2014-09-30 16:18:34 +01:00
parent 0c42d5c176
commit 2144e7f48b

View file

@ -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++) {