Merge branch 'bug-619' into 'master'

Remove the unbounded recording surface assertion

Closes #619

See merge request cairo/cairo!399
This commit is contained in:
Adrian Johnson 2023-01-11 07:53:11 +00:00
commit 08194cef53

View file

@ -615,7 +615,8 @@ _cairo_recording_surface_acquire_source_image (void *abstract_surface,
return CAIRO_STATUS_SUCCESS;
}
assert (! surface->unbounded);
if (surface->unbounded)
return CAIRO_INT_STATUS_UNSUPPORTED;
image = _cairo_image_surface_create_with_content (surface->base.content,
surface->extents.width,
surface->extents.height);