summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_map_image_internal.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-07 17:21:46 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-07 17:23:24 +0900
commit83eb1aa3c2e15568c89546048d72d7cae071ee42 (patch)
tree74846b89646d207686b5f2e8ca1f5c405e147c54 /src/lib/evas/common/evas_map_image_internal.c
parente1e1850d0eefd17c0d5742bce5ed1e6e08e9b433 (diff)
evas map - new aa map has extra overflow with line list - fix it.
this fixes a feature added in this version of efl. as above.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_map_image_internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_map_image_internal.c b/src/lib/evas/common/evas_map_image_internal.c
index f3238b2420..d124eedbee 100644
--- a/src/lib/evas/common/evas_map_image_internal.c
+++ b/src/lib/evas/common/evas_map_image_internal.c
@@ -76,8 +76,8 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
76 } 76 }
77 77
78 // allocate some spans to hold out span list 78 // allocate some spans to hold out span list
79 spans = alloca((yend - ystart + 1) * sizeof(Line)); 79 spans = alloca((yend - ystart + 3) * sizeof(Line));
80 memset(spans, 0, (yend - ystart + 1) * sizeof(Line)); 80 memset(spans, 0, (yend - ystart + 3) * sizeof(Line));
81 81
82 // calculate the spans list 82 // calculate the spans list
83 _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch); 83 _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch);