diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2015-06-25 18:54:23 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-06-25 18:54:23 -0700 |
commit | 1bcce4362927952b25cb916f862dde6fd35f8125 (patch) | |
tree | b53960b25f5264d0ae66378a8dada3c4d2b889c1 /src/cairo-recording-surface.c | |
parent | c1c3028a0cf0e7673ef82cc8f39cb6035a036944 (diff) | |
download | cairo-1bcce4362927952b25cb916f862dde6fd35f8125.tar.gz |
cairo-recording-surface: Fix loss of alpha when clipping
Commit 8020e0bc introduced a regression due to a typo when copying a
mask for a cairo recording surface. It should copy the source and mask
members from the command source to the recording surface, but instead it
copies the source twice.
Fix suggested by Massimo.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73038
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73901
Diffstat (limited to 'src/cairo-recording-surface.c')
-rw-r--r-- | src/cairo-recording-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index ce29b9366..78e7cfa7e 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -1165,7 +1165,7 @@ _cairo_recording_surface_copy__mask (cairo_recording_surface_t *surface, goto err_command; status = _cairo_pattern_init_copy (&command->mask.base, - &src->mask.source.base); + &src->mask.mask.base); if (unlikely (status)) goto err_source; |