summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-23 22:21:59 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-24 08:39:15 +0900
commit5df38e9d53bd8caf9b6dcd8b4321934ecd9dba75 (patch)
tree88fee2d49ad3fe981149c83cda2cdccbad8451a6 /src/lib/evas/canvas
parent65758a21606b07af6745f602473750986af648a2 (diff)
evas new region code - copy region size along with region math
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/render2/region.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/render2/region.c b/src/lib/evas/canvas/render2/region.c
index df7d711216..2958b8959c 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)
899 return EINA_TRUE; 899 return EINA_TRUE;
900 } 900 }
901 901
902 region.w = dest->w;
903 region.h = dest->h;
902 region.data = NULL; 904 region.data = NULL;
903 region.bound.x1 = x; 905 region.bound.x1 = x;
904 region.bound.y1 = y; 906 region.bound.y1 = y;
@@ -1227,6 +1229,8 @@ region_rect_del(Region *dest, int x, int y, unsigned int w, unsigned int h)
1227 return EINA_TRUE; 1229 return EINA_TRUE;
1228 } 1230 }
1229 1231
1232 region.w = dest->w;
1233 region.h = dest->h;
1230 region.data = NULL; 1234 region.data = NULL;
1231 region.bound.x1 = x; 1235 region.bound.x1 = x;
1232 region.bound.y1 = y; 1236 region.bound.y1 = y;