[cairo-commit] src/cairo-gl-spans-compositor.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri May 4 02:16:04 PDT 2012
src/cairo-gl-spans-compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 748dcdef4b67097c079a3ff98f970451428c24f3
Author: Chuanbo Weng <strgnm at gmail.com>
Date: Fri May 4 08:53:20 2012 +0800
gl: fix the translate value in copy_boxes.
Fixes 36 test cases (such as push-group-color)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48221
diff --git a/src/cairo-gl-spans-compositor.c b/src/cairo-gl-spans-compositor.c
index 8c83a43..0c2134f 100644
--- a/src/cairo-gl-spans-compositor.c
+++ b/src/cairo-gl-spans-compositor.c
@@ -328,7 +328,7 @@ static cairo_int_status_t copy_boxes (void *_dst,
goto FAIL;
_cairo_gl_composite_set_source_operand (&setup, source_to_operand (src));
- _cairo_gl_operand_translate (&setup.src, dx, dy);
+ _cairo_gl_operand_translate (&setup.src, -dx, -dy);
status = _cairo_gl_composite_begin (&setup, &ctx);
if (unlikely (status))
More information about the cairo-commit
mailing list