diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-27 20:27:09 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-27 20:27:09 +0000 |
commit | f571356d346565cae34f08d12c584c4bd40921d6 (patch) | |
tree | 1f55f15d35e5b9d1f7a6307d7971dc2826fcf1e9 | |
parent | 1a80cd2aa00b232a9a2192a85d6264e44ffcbd69 (diff) |
xlib: Set has_component_alpha = FALSE for gradient Pictures
Whilst creating the xlib surface wrapper for gradient Pictures, the
corresponding attributes require ComponentAlpha disabled.
-rw-r--r-- | src/cairo-xlib-surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index 8965373e..03053f00 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -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; |