[Pkg-e-commits] [SCM] Enlightenment DR17 advanced canvas library branch, upstream-vcs, updated. 069f3cc6c93f253bffbc90289fe21d868f745bb6
cedric
cedric at alioth.debian.org
Sat Jun 7 18:24:34 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit 21f976dfcf785b1735cd5fa805e46a10fbb41f67
Author: cedric <cedric>
Date: Wed Jun 4 08:20:39 2008 +0000
Fix a little bug with alpha flags not being correctly set.
diff --git a/src/lib/cache/evas_cache_image.c b/src/lib/cache/evas_cache_image.c
index 5daa01c..6d55084 100644
--- a/src/lib/cache/evas_cache_image.c
+++ b/src/lib/cache/evas_cache_image.c
@@ -603,6 +603,7 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache, int w, int h, DATA32 *imag
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,11 +680,12 @@ evas_cache_image_size_set(Image_Entry *im, int w, int h)
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;
--
Enlightenment DR17 advanced canvas library
More information about the Pkg-e-commits
mailing list