aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_clip.c
diff options
context:
space:
mode:
authorrbdpngn <rbdpngn>2005-07-30 05:55:15 +0000
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-07-30 05:55:15 +0000
commit8aa4d69a597ea450ad183026fd0ab00ab86cb781 (patch)
treebf7e54341b58c5c593a6f0b2cab09a3fb49232fc /legacy/evas/src/lib/canvas/evas_clip.c
parentfix free stuff (diff)
downloadefl-8aa4d69a597ea450ad183026fd0ab00ab86cb781.tar.gz
Reduce unnecessary clip recalcs.
SVN revision: 15947
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_clip.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_clip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_clip.c b/legacy/evas/src/lib/canvas/evas_clip.c
index e24446b02b..a8ad5914d7 100644
--- a/legacy/evas/src/lib/canvas/evas_clip.c
+++ b/legacy/evas/src/lib/canvas/evas_clip.c
@@ -22,8 +22,8 @@ evas_object_clip_recalc(Evas_Object *obj)
cb = obj->cur.color.b; ca = obj->cur.color.a;
if (obj->cur.clipper)
{
-// this causes problems... hmmm
-// if (obj->cur.clipper->cur.cache.clip.dirty)
+ /* Don't recalculate clean clipper */
+ if (obj->cur.clipper->cur.cache.clip.dirty)
evas_object_clip_recalc(obj->cur.clipper);
nx = obj->cur.clipper->cur.cache.clip.x;
ny = obj->cur.clipper->cur.cache.clip.y;