hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=28ee00c8c39246453c5f296f236349f4296b6f01

commit 28ee00c8c39246453c5f296f236349f4296b6f01
Author: ChunEon Park <[email protected]>
Date:   Sat Feb 8 19:15:09 2014 +0900

    evas/common - removed unnecessary handling.
    
    Actually the range checking will be accomplished when u, v is decided.
    just duplicated.
---
 src/lib/evas/common/evas_map_image_loop.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/lib/evas/common/evas_map_image_loop.c 
b/src/lib/evas/common/evas_map_image_loop.c
index d77ef98..9ee35cc 100644
--- a/src/lib/evas/common/evas_map_image_loop.c
+++ b/src/lib/evas/common/evas_map_image_loop.c
@@ -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;

-- 


Reply via email to