fallback: fix the offset for painting

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-12-05 16:38:05 +00:00
parent dd73add00c
commit e68eb874e9

View file

@ -55,8 +55,8 @@ _cairo_fallback_compositor_paint (const cairo_compositor_t *_compositor,
image = cairo_surface_map_to_image (extents->surface, &extents->unbounded);
status = _cairo_surface_offset_paint (image,
-extents->unbounded.x,
-extents->unbounded.y,
extents->unbounded.x,
extents->unbounded.y,
extents->op,
&extents->source_pattern.base,
extents->clip);