Skip to content

Commit

Permalink
[pattern] Remove incorrect assert.
Browse files Browse the repository at this point in the history
It's possible to reach that point without setting the filter to NEAREST,
for example if using FAST or GAUSSIAN.
  • Loading branch information
Chris Wilson committed Oct 9, 2008
1 parent c647c0b commit ddd1615
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cairo-pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit ddd1615

Please sign in to comment.