From ddd1615a1777181c6e8db1dbafacb68535ed163a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 8 Oct 2008 23:13:03 +0100 Subject: [PATCH] [pattern] Remove incorrect assert. It's possible to reach that point without setting the filter to NEAREST, for example if using FAST or GAUSSIAN. --- src/cairo-pattern.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c index 16c3dc9d6..b2b1c603c 100644 --- a/src/cairo-pattern.c +++ b/src/cairo-pattern.c @@ -1745,7 +1745,6 @@ _cairo_pattern_acquire_surface_for_surface (cairo_surface_pattern_t *pattern, cairo_matrix_init_identity (&attr->matrix); attr->x_offset = tx; attr->y_offset = ty; - assert (attr->filter == CAIRO_FILTER_NEAREST); } else {