mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-29 11:20:35 +02:00
Remove redundant call to _cairo_surface_get_extents
We called it just above with the same parameters.
(cherry picked from 17eeacfba8 commit)
This commit is contained in:
parent
b586c0456e
commit
57bca39e08
1 changed files with 0 additions and 4 deletions
|
|
@ -548,10 +548,6 @@ _clip_and_composite_trapezoids (cairo_pattern_t *src,
|
|||
* _cairo_surface_fill_rectangles() or to drawing with a
|
||||
* clip region, then we have an additional region to clear.
|
||||
*/
|
||||
status = _cairo_surface_get_extents (dst, &extents);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
clear_region = _cairo_region_create_from_rectangle (&extents);
|
||||
if (clear_region == NULL)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue