mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 07:58:04 +02:00
Create meta-surface source image with same content type as the
meta-surface
This commit is contained in:
parent
875e32178e
commit
1e21220f0e
1 changed files with 3 additions and 3 deletions
|
|
@ -192,9 +192,9 @@ _cairo_meta_surface_acquire_source_image (void *abstract_surface,
|
|||
cairo_meta_surface_t *surface = abstract_surface;
|
||||
cairo_surface_t *image;
|
||||
|
||||
image = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
|
||||
surface->width_pixels,
|
||||
surface->height_pixels);
|
||||
image = _cairo_image_surface_create_with_content (surface->content,
|
||||
surface->width_pixels,
|
||||
surface->height_pixels);
|
||||
|
||||
status = _cairo_meta_surface_replay (&surface->base, image);
|
||||
if (status) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue