mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 02:48:20 +02:00
Fix PS emit image for 16-bit images
This commit is contained in:
parent
2dec76ddfe
commit
ca3e776abe
1 changed files with 1 additions and 1 deletions
|
|
@ -2607,7 +2607,6 @@ _cairo_ps_surface_emit_image (cairo_ps_surface_t *surface,
|
|||
surf = _cairo_image_surface_create_with_content (image->base.content,
|
||||
image->width,
|
||||
image->height);
|
||||
image = (cairo_image_surface_t *) surf;
|
||||
if (surf->status) {
|
||||
status = surf->status;
|
||||
goto bail0;
|
||||
|
|
@ -2618,6 +2617,7 @@ _cairo_ps_surface_emit_image (cairo_ps_surface_t *surface,
|
|||
CAIRO_OPERATOR_SOURCE, &pattern.base,
|
||||
NULL);
|
||||
_cairo_pattern_fini (&pattern.base);
|
||||
image = (cairo_image_surface_t *) surf;
|
||||
if (unlikely (status))
|
||||
goto bail0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue