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 21:04:14 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-07 21:04:58 +0900
commitd5c3ad97e5cb080817ac10ea6a07b08d1ac58fe6 (patch)
treefec030f179aa47a77d5dd92c1669bb6473f1822a /src/lib/evas/common/evas_map_image_internal.c
parent267b8a5ead1eab0a8262af421eeed5ad3db6ee2a (diff)
evas map aa - match previous fix.
this matches 83eb1aa3c2e15568c89546048d72d7cae071ee42 fix in the other map render func
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 bc2457481a..aac6932b2b 100644
--- a/src/lib/evas/common/evas_map_image_internal.c
+++ b/src/lib/evas/common/evas_map_image_internal.c
@@ -175,9 +175,9 @@ FUNC_NAME_DO(RGBA_Image *src, RGBA_Image *dst,
175 da = dst->cache_entry.flags.alpha; 175 da = dst->cache_entry.flags.alpha;
176 176
177 // allocate some s to hold out span list 177 // allocate some s to hold out span list
178 spans = alloca((yend - ystart + 1) * sizeof(Line)); 178 spans = alloca((yend - ystart + 3) * sizeof(Line));
179 memcpy(spans, &ms->spans[ystart - ms->ystart], 179 memcpy(spans, &ms->spans[ystart - ms->ystart],
180 (yend - ystart + 1) * sizeof(Line)); 180 (yend - ystart + 3) * sizeof(Line));
181 _clip_spans(spans, ystart, yend, cx, cw, EINA_TRUE); 181 _clip_spans(spans, ystart, yend, cx, cw, EINA_TRUE);
182 182
183 // if operation is solid, bypass buf and draw func and draw direct to dst 183 // if operation is solid, bypass buf and draw func and draw direct to dst