mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 05:00:17 +01:00
cairo_paint_with_alpha(cr, 0.0) is only a noop when bounded by mask
This commit is contained in:
parent
ee32dfb3de
commit
8aa50b5a78
1 changed files with 2 additions and 1 deletions
|
|
@ -2139,7 +2139,8 @@ cairo_paint_with_alpha (cairo_t *cr,
|
|||
return;
|
||||
}
|
||||
|
||||
if (CAIRO_ALPHA_IS_ZERO (alpha)) {
|
||||
if (CAIRO_ALPHA_IS_ZERO (alpha) &&
|
||||
_cairo_operator_bounded_by_mask (cr->gstate->op)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue