[cairo-commit] src/cairo-gl-operand.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Dec 16 09:10:58 PST 2011
src/cairo-gl-operand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6816f70da54e730e88b98c8592aa6fc84e082928
Author: Martin Robinson <mrobinson at webkit.org>
Date: Thu Dec 15 17:42:42 2011 -0800
gl: Fix the offset of non-texture source surfaces
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c
index 989f4ce..bc5e541 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);
More information about the cairo-commit
mailing list