mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-26 23:00:45 +02:00
[cairo-meta-surface] Propagate errors during replay to the surface.
Store any fatal errors raised during the replay on the surface object.
This commit is contained in:
parent
042821b566
commit
7cc7bf09c1
1 changed files with 4 additions and 1 deletions
|
|
@ -671,6 +671,9 @@ _cairo_meta_surface_replay_internal (cairo_surface_t *surface,
|
|||
if (surface->status)
|
||||
return surface->status;
|
||||
|
||||
if (target->status)
|
||||
return _cairo_surface_set_error (surface, target->status);
|
||||
|
||||
meta = (cairo_meta_surface_t *) surface;
|
||||
status = CAIRO_STATUS_SUCCESS;
|
||||
|
||||
|
|
@ -860,7 +863,7 @@ _cairo_meta_surface_replay_internal (cairo_surface_t *surface,
|
|||
|
||||
_cairo_clip_reset (&clip);
|
||||
|
||||
return status;
|
||||
return _cairo_surface_set_error (surface, status);
|
||||
}
|
||||
|
||||
cairo_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue