mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 07:18:04 +02:00
xlib: Set has_component_alpha = FALSE for gradient Pictures
Whilst creating the xlib surface wrapper for gradient Pictures, the corresponding attributes require ComponentAlpha disabled.
This commit is contained in:
parent
1a80cd2aa0
commit
f571356d34
1 changed files with 1 additions and 0 deletions
|
|
@ -2058,6 +2058,7 @@ _cairo_xlib_surface_acquire_pattern_surface (cairo_xlib_surface_t *dst,
|
|||
attributes->filter = CAIRO_FILTER_NEAREST;
|
||||
attributes->x_offset = 0;
|
||||
attributes->y_offset = 0;
|
||||
attributes->has_component_alpha = FALSE;
|
||||
|
||||
*surface_out = surface;
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue