mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 06:00:10 +01:00
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:
parent
0c42d5c176
commit
2144e7f48b
1 changed files with 1 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue