fix cache accounting

SVN revision: 31230
This commit is contained in:
Carsten Haitzler 2007-08-09 12:21:21 +00:00
parent 287d8779fb
commit 14024931d1
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ evas_cache_image_drop(RGBA_Image *im)
// if (im->cache_key) printf("DROP %s -> ref = %i\n", im->cache_key, im->references);
if ((im->flags & RGBA_IMAGE_IS_DIRTY) == RGBA_IMAGE_IS_DIRTY)
{
cache->usage = cache->func.mem_size_get(im);
cache->usage -= cache->func.mem_size_get(im);
// if (im->cache_key) printf("IM-- %s, cache = %i\n", im->cache_key, cache->usage);
cache->dirty = evas_object_list_remove(cache->dirty, im);
if (cache->func.debug)