summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-12-23 18:57:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-01-07 15:06:03 +0900
commitf876cf31f8d6fd48f7602bd593c24c1a07138d8f (patch)
tree1bddeeb6b604d7f934fe3e44caa567ed79037388 /src/lib/evas/canvas
parent592068108bdb2e08ef9229d2617818b9260a8526 (diff)
Evas masking: Fix invalid geometry after mask redraw
The proper geometry should be set when rendering the mask, otherwise we can't create a new surface if it changed dimensions.
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/evas_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 896a3303a8..47f26cdaa6 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -311,10 +311,6 @@ _evas_mask_redraw_set(Evas_Public_Data *e EINA_UNUSED,
311 EINA_COW_WRITE_BEGIN(evas_object_mask_cow, obj->mask, 311 EINA_COW_WRITE_BEGIN(evas_object_mask_cow, obj->mask,
312 Evas_Object_Mask_Data, mask) 312 Evas_Object_Mask_Data, mask)
313 mask->redraw = EINA_TRUE; 313 mask->redraw = EINA_TRUE;
314 mask->x = obj->cur->geometry.x;
315 mask->y = obj->cur->geometry.y;
316 mask->w = obj->cur->geometry.w;
317 mask->h = obj->cur->geometry.h;
318 EINA_COW_WRITE_END(evas_object_mask_cow, obj->mask, mask); 314 EINA_COW_WRITE_END(evas_object_mask_cow, obj->mask, mask);
319 } 315 }
320 316