forked from enlightenment/efl
evas/common - removed unnecessary handling.
Actually the range checking will be accomplished when u, v is decided. just duplicated.
This commit is contained in:
parent
ef83a81750
commit
28ee00c8c3
|
@ -39,12 +39,7 @@
|
|||
DATA32 val1, val2, val3, val4;
|
||||
|
||||
u1 = u;
|
||||
if (u1 < 0) u1 = 0;
|
||||
else if (u1 >= swp) u1 = swp - 1;
|
||||
|
||||
v1 = v;
|
||||
if (v1 < 0) v1 = 0;
|
||||
else if (v1 >= shp) v1 = shp - 1;
|
||||
|
||||
u2 = u1 + FPFPI1;
|
||||
if (u2 >= swp) u2 = swp - 1;
|
||||
|
|
Loading…
Reference in New Issue