diff options
author | Robert O'Callahan <robert@ocallahan.org> | 2011-01-18 13:52:21 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-01-18 13:58:36 +0100 |
commit | 686dbfa496e8287e016803940e9a3d5716b41c9d (patch) | |
tree | 9623cd7ba2204a3d847a2077af406d83c3e1deb7 | |
parent | c84730d88983623dddd6b9980d82648b7297444d (diff) |
tee: Do not apply two times the master device transform
cairo_tee_surface_create copies the device transform from 'master' to
the new surface. This is wrong since all the cairo_surface_wrapper
functions apply master's device transform themselves.
Reviewed-by: Benjamin Otte <otte@redhat.com>
-rw-r--r-- | src/cairo-tee-surface.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-tee-surface.c b/src/cairo-tee-surface.c index e37cef801..83811bd7a 100644 --- a/src/cairo-tee-surface.c +++ b/src/cairo-tee-surface.c @@ -450,9 +450,6 @@ cairo_tee_surface_create (cairo_surface_t *master) master->content); _cairo_surface_wrapper_init (&surface->master, master); - /* we trust that these are already set and remain constant */ - surface->base.device_transform = master->device_transform; - surface->base.device_transform_inverse = master->device_transform_inverse; _cairo_array_init (&surface->slaves, sizeof (cairo_surface_wrapper_t)); |