summaryrefslogtreecommitdiff
path: root/src/cairo-tee-surface.c
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:55:02 +0100
commit922bbd432011728304fe5647467545a52b9ab9b0 (patch)
tree29c91382d6011e12d355f2048aa138ce70a51889 /src/cairo-tee-surface.c
parentb0e1c837acea2d6a78d5e5b1a011b1d43354b3ac (diff)
downloadcairo-922bbd432011728304fe5647467545a52b9ab9b0.tar.gz
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>
Diffstat (limited to 'src/cairo-tee-surface.c')
-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));