raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5df38e9d53bd8caf9b6dcd8b4321934ecd9dba75

commit 5df38e9d53bd8caf9b6dcd8b4321934ecd9dba75
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Sep 23 22:21:59 2015 +0900

    evas new region code - copy region size along with region math
---
 src/lib/evas/canvas/render2/region.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/evas/canvas/render2/region.c 
b/src/lib/evas/canvas/render2/region.c
index df7d711..2958b89 100644
--- a/src/lib/evas/canvas/render2/region.c
+++ b/src/lib/evas/canvas/render2/region.c
@@ -899,6 +899,8 @@ region_rect_add(Region *dest, int x, int y, unsigned int w, 
unsigned int h)
           return EINA_TRUE;
      }
 
+   region.w = dest->w;
+   region.h = dest->h;
    region.data = NULL;
    region.bound.x1 = x;
    region.bound.y1 = y;
@@ -1227,6 +1229,8 @@ region_rect_del(Region *dest, int x, int y, unsigned int 
w, unsigned int h)
           return EINA_TRUE;
      }
 
+   region.w = dest->w;
+   region.h = dest->h;
    region.data = NULL;
    region.bound.x1 = x;
    region.bound.y1 = y;

-- 


Reply via email to