mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 14:58:06 +02:00
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>
This commit is contained in:
parent
b0e1c837ac
commit
922bbd4320
1 changed files with 0 additions and 3 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue