Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_image_main.c Log Message: oooh - lots of cache misses due to new load opts - if load opts have "0" members cache was being missed. fixed. :) =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- evas_image_main.c 2 Oct 2006 11:24:26 -0000 1.37 +++ evas_image_main.c 3 Oct 2006 23:49:03 -0000 1.38 @@ -426,7 +426,11 @@ 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); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs