summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert O'Callahan <robert@ocallahan.org>2011-01-18 13:52:21 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-01-18 13:58:36 +0100
commit686dbfa496e8287e016803940e9a3d5716b41c9d (patch)
tree9623cd7ba2204a3d847a2077af406d83c3e1deb7
parentc84730d88983623dddd6b9980d82648b7297444d (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.c3
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));