oooh - lots of cache misses due to new load opts - if load opts have "0"
authorCarsten Haitzler <raster@rasterman.com>
Tue, 3 Oct 2006 23:49:03 +0000 (23:49 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Tue, 3 Oct 2006 23:49:03 +0000 (23:49 +0000)
members cache was being missed. fixed. :)

SVN revision: 26339

legacy/evas/src/lib/engines/common/evas_image_main.c

index ba89418..4a2e001 100644 (file)
@@ -426,7 +426,11 @@ evas_common_image_find(const char *file, const char *key, DATA64 timestamp, RGBA
 
    if ((!file) && (!key)) return NULL;
    if (!file) return NULL;
-   if (!lo)
+   if ((!lo) || 
+       ((lo) && 
+       (lo->scale_down_by == 0) &&
+       (lo->dpi == 0.0) &&
+       ((lo->w == 0) || (lo->h == 0))))
      {
        if (key)
          snprintf(buf, sizeof(buf), "%s//://%s", file, key);