[cairo-commit] Branch '1.10' - src/cairo-tee-surface.c
Andrea Canciani
ranma42 at kemper.freedesktop.org
Tue Jan 18 05:05:44 PST 2011
src/cairo-tee-surface.c | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 686dbfa496e8287e016803940e9a3d5716b41c9d
Author: Robert O'Callahan <robert at ocallahan.org>
Date: Tue Jan 18 13:52:21 2011 +0100
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 at redhat.com>
diff --git a/src/cairo-tee-surface.c b/src/cairo-tee-surface.c
index e37cef8..83811bd 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));
More information about the cairo-commit
mailing list