diff options
author | Bryce Harrington <b.harrington@samsung.com> | 2013-09-11 09:59:01 -0700 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2013-09-11 19:32:08 +0200 |
commit | ac5f3e2b8ef1937b3e6e3a3f03773cf471e46cc3 (patch) | |
tree | 0309ab2c1a6db0fa380f9b40f29cfa05cd22d9e7 /test/pixman-downscale.c | |
parent | ade7089f72e0d147db961dec88d3cb1b2280a438 (diff) | |
download | cairo-ac5f3e2b8ef1937b3e6e3a3f03773cf471e46cc3.tar.gz |
test: Move cairo_pattern_set_filter to after cairo_set_source_surface
Also update the image.arg32 reference images, since for now we're just
accepting pixman's output as truth. This fixes up several tests:
was is
Tests run: 420 420
Passed: 224 261
Failed: 195 159
Expected Failed: 0 0
Error: 0 0
Crashed: 0 0
Untested: 0 0
Total: 420 420
Thanks to psychon for finding the code error in the test.
Diffstat (limited to 'test/pixman-downscale.c')
-rw-r--r-- | test/pixman-downscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pixman-downscale.c b/test/pixman-downscale.c index 3e7985569..621a5b96f 100644 --- a/test/pixman-downscale.c +++ b/test/pixman-downscale.c @@ -54,9 +54,9 @@ draw (cairo_t *cr, int width, int height, cairo_filter_t filter) scale = fmin(x_scale, y_scale); cairo_save (cr); - cairo_pattern_set_filter (cairo_get_source (cr), filter); cairo_scale (cr, scale, scale); cairo_set_source_surface (cr, image, 0, 0); + cairo_pattern_set_filter (cairo_get_source (cr), filter); cairo_paint (cr); cairo_restore (cr); cairo_surface_destroy (image); |