michael@0: commit df2b22c8c6677d531194579c82a55e855adff706 michael@0: Author: Jeff Muizelaar michael@0: Date: Thu Apr 8 15:43:41 2010 -0400 michael@0: michael@0: Propagate is_clear flag to quartz_image_surface michael@0: michael@0: diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c michael@0: index 5a624eb..b8809d5 100644 michael@0: --- a/src/cairo-quartz-image-surface.c michael@0: +++ b/src/cairo-quartz-image-surface.c michael@0: @@ -146,6 +146,8 @@ _cairo_quartz_image_surface_flush (void *asurface) michael@0: surface->image = newImage; michael@0: CGImageRelease (oldImage); michael@0: michael@0: + surface->base.is_clear = surface->imageSurface->base.is_clear; michael@0: + michael@0: return CAIRO_STATUS_SUCCESS; michael@0: } michael@0: michael@0: @@ -267,6 +269,8 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface) michael@0: qisurf->image = image; michael@0: qisurf->imageSurface = image_surface; michael@0: michael@0: + qisurf->base.is_clear = image_surface->base.is_clear; michael@0: + michael@0: return &qisurf->base; michael@0: } michael@0: