mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 23:00:25 +01:00
subsurface: Fix crash when acquiring a source image.
The code is passing in the extra info received from the target surface's acquire_source() method to _cairo_surface_get_extents() rather than the acquired source surface itself.
This commit is contained in:
parent
2d146867dc
commit
df4b23ff74
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ _cairo_surface_subsurface_acquire_source_image (void *abstrac
|
|||
if (unlikely (status))
|
||||
goto CLEANUP;
|
||||
|
||||
ret = _cairo_surface_get_extents (extra->image_extra, &target_extents);
|
||||
ret = _cairo_surface_get_extents (extra->image, &target_extents);
|
||||
assert (ret);
|
||||
|
||||
/* only copy if we need to perform sub-byte manipulation */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue