summaryrefslogtreecommitdiff
path: root/src/cairo-surface-fallback.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-22 16:39:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-22 23:01:52 +0000
commit498c10032ea3f8631a928cd7df96766f2c8ddca4 (patch)
tree88b3b179d292921dd146b29e6dc8422cd5e71715 /src/cairo-surface-fallback.c
parent05bb43a00770f17566c80f28faf684597d1b6afb (diff)
downloadcairo-498c10032ea3f8631a928cd7df96766f2c8ddca4.tar.gz
clip: Implement clipping using only the high-level operators.
Revamp clipping in preparation for the removal of the low-level interface and promote backend to use the higher levels. The principle here is that the higher level interface gives the backend more scope for choosing better performing primitives.
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r--src/cairo-surface-fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c
index 51e3d7eec..d9528ce50 100644
--- a/src/cairo-surface-fallback.c
+++ b/src/cairo-surface-fallback.c
@@ -164,7 +164,7 @@ _create_composite_mask_pattern (cairo_surface_pattern_t *mask_pattern,
goto CLEANUP_SURFACE;
if (clip_surface)
- status = _cairo_clip_combine_with_surface (clip, mask, extents);
+ status = _cairo_clip_combine_with_surface (clip, mask, extents->x, extents->y);
_cairo_pattern_init_for_surface (mask_pattern, mask);