summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_map.c')
-rw-r--r--src/lib/evas/canvas/evas_map.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index 13a40a8..5f132f7 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -1228,9 +1228,6 @@ evas_object_map_update(Evas_Object *eo_obj,
1228 RGBA_Map_Point *pts, *pt; 1228 RGBA_Map_Point *pts, *pt;
1229 1229
1230 if (!obj) return; 1230 if (!obj) return;
1231
1232//This compare looks useless.
1233/*
1234 if (obj->map->spans) 1231 if (obj->map->spans)
1235 { 1232 {
1236 if (obj->map->spans->x != x || obj->map->spans->y != y || 1233 if (obj->map->spans->x != x || obj->map->spans->y != y ||
@@ -1244,7 +1241,7 @@ evas_object_map_update(Evas_Object *eo_obj,
1244 } 1241 }
1245 1242
1246 if (!obj->changed_map) return; 1243 if (!obj->changed_map) return;
1247*/ 1244
1248 if (obj->map->cur.map && obj->map->spans && obj->map->cur.map->count != obj->map->spans->count) 1245 if (obj->map->cur.map && obj->map->spans && obj->map->cur.map->count != obj->map->spans->count)
1249 { 1246 {
1250 EINA_COW_WRITE_BEGIN(evas_object_map_cow, obj->map, Evas_Object_Map_Data, map_write) 1247 EINA_COW_WRITE_BEGIN(evas_object_map_cow, obj->map, Evas_Object_Map_Data, map_write)