Enlightenment CVS committal Author : cedric Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/cache Modified Files: evas_cache_image.c Log Message: Fix a little bug with alpha flags not being correctly set. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_image.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- evas_cache_image.c 3 Jun 2008 09:09:34 -0000 1.21 +++ evas_cache_image.c 4 Jun 2008 08:20:39 -0000 1.22 @@ -603,6 +603,7 @@ im = _evas_cache_image_entry_new(cache, NULL, 0, NULL, NULL, NULL, NULL); if (!im) return NULL; + im->space = cspace; im->flags.alpha = alpha; @@ -679,10 +680,11 @@ new = _evas_cache_image_entry_new(cache, NULL, 0, NULL, NULL, NULL, &error); if (!new) goto on_error; - _evas_cache_image_entry_surface_alloc(cache, new, w, h); - + new->flags.alpha = im->flags.alpha; new->space = im->space; new->load_opts = im->load_opts; + + _evas_cache_image_entry_surface_alloc(cache, new, w, h); error = cache->func.size_set(new, im, w, h); if (error != 0) goto on_error; ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs