mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 10:30:16 +01:00
paginated: Remove an impossible test
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c133243111
commit
f3a3c29e2b
1 changed files with 3 additions and 6 deletions
|
|
@ -315,12 +315,9 @@ _paint_fallback_image (cairo_paginated_surface_t *surface,
|
|||
pattern.base.filter = CAIRO_FILTER_NEAREST;
|
||||
|
||||
clip = _cairo_clip_intersect_rectangle (NULL, rect);
|
||||
if (likely (status == CAIRO_STATUS_SUCCESS)) {
|
||||
status = _cairo_surface_paint (surface->target,
|
||||
CAIRO_OPERATOR_SOURCE,
|
||||
&pattern.base, clip);
|
||||
}
|
||||
|
||||
status = _cairo_surface_paint (surface->target,
|
||||
CAIRO_OPERATOR_SOURCE,
|
||||
&pattern.base, clip);
|
||||
_cairo_clip_destroy (clip);
|
||||
_cairo_pattern_fini (&pattern.base);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue