q66 pushed a commit to branch efl-1.8.

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

commit b545aaa58e0b75159ad0914e8f68e6bbd4f99463
Author: Daniel Kolesa <[email protected]>
Date:   Thu Jan 30 12:25:59 2014 +0000

    evas: fix tiler bug (makes evas get stuck in an infinite loop there in 
certain scenarios)
    
    backport of master commit 871597f8c20f3fc418df64669f36f9fae76d89a8.
---
 src/lib/evas/common/evas_tiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/common/evas_tiler.c b/src/lib/evas/common/evas_tiler.c
index fd6c65a..d787ec2 100644
--- a/src/lib/evas/common/evas_tiler.c
+++ b/src/lib/evas/common/evas_tiler.c
@@ -605,7 +605,7 @@ rect_list_add_split_fuzzy(list_t *rects, list_node_t *node, 
int accepted_error)
                  keep_dirty = 0;
                  break;
               }
-            else if (intra.area <= accepted_error)
+            else if ((intra.area - area) <= accepted_error)
               {
                  /*  .---.cur     .---.r
                   *  |   |        |   |

-- 


Reply via email to