summaryrefslogtreecommitdiff
path: root/src/cairo-recording-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-11 17:00:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-11 17:00:57 +0100
commitdb488a1703d4ef3bcbd54138b51c01600a2f4d3a (patch)
treed0bb668436ec9661b72f57a355b2fedf3bc6cd30 /src/cairo-recording-surface.c
parented720007ba6be17434eb68b604fd36bd91c0d894 (diff)
downloadcairo-db488a1703d4ef3bcbd54138b51c01600a2f4d3a.tar.gz
recording: Copy across the is-clear? during snapshotting
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55799 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-recording-surface.c')
-rw-r--r--src/cairo-recording-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c
index e29727376..ce7c76086 100644
--- a/src/cairo-recording-surface.c
+++ b/src/cairo-recording-surface.c
@@ -1431,7 +1431,7 @@ _cairo_recording_surface_snapshot (void *abstract_other)
surface->extents = other->extents;
surface->unbounded = other->unbounded;
- surface->base.is_clear = TRUE;
+ surface->base.is_clear = other->base.is_clear;
surface->bbtree.left = surface->bbtree.right = NULL;
surface->bbtree.chain = INVALID_CHAIN;