summaryrefslogtreecommitdiff
path: root/src/cairo-surface-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-surface-wrapper.c')
-rw-r--r--src/cairo-surface-wrapper.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cairo-surface-wrapper.c b/src/cairo-surface-wrapper.c
index 39e90f0..9667305 100644
--- a/src/cairo-surface-wrapper.c
+++ b/src/cairo-surface-wrapper.c
@@ -49,18 +49,6 @@ _copy_transformed_pattern (cairo_pattern_t *pattern,
{
_cairo_pattern_init_static_copy (pattern, original);
- /* apply device_transform first so that it is transformed by ctm_inverse */
- if (original->type == CAIRO_PATTERN_TYPE_SURFACE) {
- cairo_surface_pattern_t *surface_pattern;
- cairo_surface_t *surface;
-
- surface_pattern = (cairo_surface_pattern_t *) original;
- surface = surface_pattern->surface;
-
- if (_cairo_surface_has_device_transform (surface))
- _cairo_pattern_transform (pattern, &surface->device_transform);
- }
-
if (! _cairo_matrix_is_identity (ctm_inverse))
_cairo_pattern_transform (pattern, ctm_inverse);
}