[sapwood] move the embedded mask_surface
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sapwood] move the embedded mask_surface
- Date: Fri, 13 Aug 2010 11:41:01 +0000 (UTC)
commit efc24b1ce2b29b65be35c7f02372e819bd0100d6
Author: Sven Herzberg <herzi gnome-de org>
Date: Fri Aug 13 12:08:05 2010 +0200
move the embedded mask_surface
* engine/sapwood-pixmap.c: only use the global one
engine/sapwood-pixmap.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/engine/sapwood-pixmap.c b/engine/sapwood-pixmap.c
index 92c6467..10c741b 100644
--- a/engine/sapwood-pixmap.c
+++ b/engine/sapwood-pixmap.c
@@ -540,10 +540,8 @@ sapwood_pixmap_render_rects (SapwoodPixmap* self,
if ((width > 0 && width < tmp_width) || (height > 0 && height < tmp_height))
{
- cairo_surface_t* mask_surface = sapwood_create_surface (tmp_mask);
sapwood_crop_pixmap (tmp, mask_surface, width, height,
self->width, self->height);
- cairo_surface_destroy (mask_surface);
cairo_rectangle (cr, 0, 0, width, height);
cairo_clip (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]