diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-06-09 17:59:47 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-06-10 16:07:42 +0200 |
commit | 7a024bc206aae790c7357be83474126037335ab1 (patch) | |
tree | 446be61c58e99bd1db6c3449a1e2f05e21b0cf44 /test/linear-gradient-one-stop.c | |
parent | a0f8cfe64660c0043db15f9b9cbf1298bf1838d1 (diff) | |
download | cairo-7a024bc206aae790c7357be83474126037335ab1.tar.gz |
test: exercise ps crash with single stop gradients
PS crashes only when using the source operator, as it will otherwise
fallback to rasterization of the gradients.
Diffstat (limited to 'test/linear-gradient-one-stop.c')
-rw-r--r-- | test/linear-gradient-one-stop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/linear-gradient-one-stop.c b/test/linear-gradient-one-stop.c index b1a608f90..09c4b9d23 100644 --- a/test/linear-gradient-one-stop.c +++ b/test/linear-gradient-one-stop.c @@ -45,7 +45,7 @@ draw (cairo_t *cr, int width, int height) CAIRO_EXTEND_PAD }; - cairo_test_paint_checkered (cr); + cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); cairo_translate (cr, PAD, PAD); |