mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 00:38:06 +02:00
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:
parent
c200560929
commit
be50c32ed5
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue