summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@webkit.org>2011-12-15 17:42:42 -0800
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-16 17:10:03 +0000
commit6816f70da54e730e88b98c8592aa6fc84e082928 (patch)
treef042e3e355cad68dd9a641b8972399f918526eac
parent4c3276e94f1eb8b6cbe4069be3d1d89f00bbbc0d (diff)
gl: Fix the offset of non-texture source surfacesHEADmaster
-rw-r--r--src/cairo-gl-operand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c
index 989f4ce3..bc5e5419 100644
--- a/src/cairo-gl-operand.c
+++ b/src/cairo-gl-operand.c
@@ -245,7 +245,7 @@ _cairo_gl_pattern_texture_setup (cairo_gl_operand_t *operand,
extents->width, extents->height);
image = cairo_surface_map_to_image (&surface->base, NULL);
- status = _cairo_surface_offset_paint (image, -extents->x, -extents->y,
+ status = _cairo_surface_offset_paint (image, extents->x, extents->y,
CAIRO_OPERATOR_SOURCE, _src, NULL);
cairo_surface_unmap_image (&surface->base, image);
status = _cairo_gl_context_release (ctx, status);