mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 17:08:09 +02:00
clip: Don't reduce all-clip to no-clip.
This commit is contained in:
parent
b12114f296
commit
b3e0393161
1 changed files with 2 additions and 1 deletions
|
|
@ -190,7 +190,8 @@ _cairo_clip_init_copy (cairo_clip_t *clip, cairo_clip_t *other)
|
|||
clip->all_clipped = other->all_clipped;
|
||||
if (other->path == NULL) {
|
||||
clip->path = NULL;
|
||||
clip = NULL;
|
||||
if (! clip->all_clipped)
|
||||
clip = NULL;
|
||||
} else {
|
||||
clip->path = _cairo_clip_path_reference (other->path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue