mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 16:58:01 +02:00
Fix bug in _gradient_is_opaque()
This commit is contained in:
parent
b5c36010ed
commit
583059e4a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1469,7 +1469,7 @@ _gradient_is_opaque (const cairo_gradient_pattern_t *gradient)
|
|||
unsigned int i;
|
||||
|
||||
for (i = 0; i < gradient->n_stops; i++)
|
||||
if (! CAIRO_ALPHA_SHORT_IS_OPAQUE (gradient->stops[i].color.alpha))
|
||||
if (! CAIRO_COLOR_IS_OPAQUE (&gradient->stops[i].color))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue