diff options
author | Billy Biggs <vektor@dumbterm.net> | 2005-08-16 21:04:02 +0000 |
---|---|---|
committer | Billy Biggs <vektor@dumbterm.net> | 2005-08-16 21:04:02 +0000 |
commit | f5f21a768d71f2a6897b5290f74fd41116c43966 (patch) | |
tree | 718c7aecbef3ebdf9aa17e32ce4996fa393a4edd /test/filter-nearest-offset.c | |
parent | c892ee36d94532a395dc11d4d954611ce4f353c7 (diff) | |
download | cairo-f5f21a768d71f2a6897b5290f74fd41116c43966.tar.gz |
Fix the filter-nearest-offset test to actually test CAIRO_FILTER_NEAREST.
Diffstat (limited to 'test/filter-nearest-offset.c')
-rw-r--r-- | test/filter-nearest-offset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c index 74ad47611..e5657bbcf 100644 --- a/test/filter-nearest-offset.c +++ b/test/filter-nearest-offset.c @@ -87,7 +87,7 @@ draw (cairo_t *cr, int width, int height) cairo_set_source_surface (cr, surface, PAD + i * (STAMP_WIDTH + PAD) + i_step, PAD + j * (STAMP_HEIGHT + PAD) + j_step); - cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_BEST); + cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_NEAREST); cairo_paint (cr); cairo_restore (cr); |