xcb: Fix CAIRO_OPERATOR_IN

The if that is being removed here resulted in no drawing done at all when it
skipped the call to _render_fill_boxes(). This is obviously not what
CAIRO_OPERATOR_IN wants.

This fixes the "operator" test in the test suite.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-10-04 12:41:46 +02:00
parent c200560929
commit be50c32ed5

View file

@ -2586,8 +2586,7 @@ _composite_boxes (cairo_xcb_surface_t *dst,
else
color = &((cairo_solid_pattern_t *) src)->color;
if (! (op == CAIRO_OPERATOR_IN && color->alpha_short >= 0xff00))
status = _render_fill_boxes (dst, op, color, boxes);
status = _render_fill_boxes (dst, op, color, boxes);
}
else
{