forked from enlightenment/efl
evas map: ++safety anti-aliasing processing.
there was a potential case that overflow range. here it kicks it out.
This commit is contained in:
parent
aee5d501c9
commit
40bc81ae2b
|
@ -234,8 +234,12 @@ _calc_aa_edges_internal(Line *spans, int eidx, int ystart, int yend)
|
|||
calc_horiz_coverage(spans, eidx, y, tx[0], tx[1]);
|
||||
}
|
||||
else
|
||||
calc_vert_coverage(spans, eidx, (y + 1), (edge_diff.y + 2),
|
||||
(prev_dir & 0x00000001));
|
||||
{
|
||||
++y;
|
||||
if (y > yend) y = yend;
|
||||
calc_vert_coverage(spans, eidx, y, (edge_diff.y + 2),
|
||||
(prev_dir & 0x00000001));
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue