summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_polygon_main.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 13:52:59 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 13:52:59 +0000
commita332d1c86984c380c1e8d94db12d28b9b71b167f (patch)
tree5bc25177cd8cfc383461871b15e631c701460308 /src/lib/evas/common/evas_polygon_main.c
parent3604cc2f4f4ebda49d2f4a87cb4f0ff6d92e8f88 (diff)
efl/evas: remove mask of non-rectangle objects.
it was broken and mostly disabled, so now we do remove it in the hope who does that next time, does it properly. SVN revision: 80252
Diffstat (limited to 'src/lib/evas/common/evas_polygon_main.c')
-rw-r--r--src/lib/evas/common/evas_polygon_main.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/evas/common/evas_polygon_main.c b/src/lib/evas/common/evas_polygon_main.c
index f6c79c837a..f82d245149 100644
--- a/src/lib/evas/common/evas_polygon_main.c
+++ b/src/lib/evas/common/evas_polygon_main.c
@@ -289,19 +289,11 @@ evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Po
289 289
290#ifdef HAVE_PIXMAN 290#ifdef HAVE_PIXMAN
291# ifdef PIXMAN_POLY 291# ifdef PIXMAN_POLY
292 if ((dst->pixman.im) && (dc->col.pixman_color_image) && 292 if ((dst->pixman.im) && (dc->col.pixman_color_image))
293 (!dc->mask.mask))
294 pixman_image_composite(op, dc->col.pixman_color_image, 293 pixman_image_composite(op, dc->col.pixman_color_image,
295 NULL, dst->pixman.im, 294 NULL, dst->pixman.im,
296 span->x, span->y, 0, 0, 295 span->x, span->y, 0, 0,
297 span->x, span->y, span->w, 1); 296 span->x, span->y, span->w, 1);
298 else if ((dst->pixman.im) && (dc->col.pixman_color_image) &&
299 (dc->mask.mask))
300 pixman_image_composite(op, dc->col.pixman_color_image,
301 dc->mask.mask->pixman.im,
302 dst->pixman.im,
303 span->x, span->y, 0, 0,
304 span->x, span->y, span->w, 1);
305 else 297 else
306# endif 298# endif
307#endif 299#endif