[cairo-commit] src/cairo-xlib-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Oct 27 13:29:35 PDT 2009
src/cairo-xlib-surface.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f571356d346565cae34f08d12c584c4bd40921d6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Oct 27 20:27:09 2009 +0000
xlib: Set has_component_alpha = FALSE for gradient Pictures
Whilst creating the xlib surface wrapper for gradient Pictures, the
corresponding attributes require ComponentAlpha disabled.
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 8965373..03053f0 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;
More information about the cairo-commit
mailing list