mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 07:18:04 +02:00
Fix two uninitialised variables in _cairo_recording_surface_snapshot()
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
979382dd30
commit
be61878a8e
1 changed files with 2 additions and 0 deletions
|
|
@ -1582,6 +1582,8 @@ _cairo_recording_surface_snapshot (void *abstract_other)
|
|||
surface->indices = NULL;
|
||||
surface->num_indices = 0;
|
||||
surface->optimize_clears = TRUE;
|
||||
surface->has_bilevel_alpha = other->has_bilevel_alpha;
|
||||
surface->has_only_op_over = other->has_only_op_over;
|
||||
|
||||
_cairo_array_init (&surface->commands, sizeof (cairo_command_t *));
|
||||
status = _cairo_recording_surface_copy (surface, other);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue