On Sat, 4 Aug 2007, Enlightenment CVS wrote:

>
> -     evas_common_image_free(im);
> +     evas_common_image_delete(im);
>       dc->render_op = op;
>       dc->clip.use = cuse;
>       if (!gr->tex) return;
> ===================================================================
> RCS file: 
> /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_texture.c,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -3 -r1.9 -r1.10
> --- evas_gl_texture.c 2 Jun 2007 15:30:58 -0000       1.9
> +++ evas_gl_texture.c 4 Aug 2007 07:20:17 -0000       1.10
> @@ -385,7 +385,7 @@
>                                                      im2->image->data,
>                                                      pw, ph);
>         }
> -     if (im1 != im) evas_common_image_free(im1);
> +     if (im1 != im) evas_common_image_delete(im1);
>       im1 = NULL;
>
>       im_data = im2->image->data;
> @@ -413,7 +413,7 @@
>       im1 = im2;
>       im2 = NULL;
>      }
> -   if ((im1 != im) && (im1)) evas_common_image_free(im1);
> +   if ((im1 != im) && (im1)) evas_common_image_delete(im1);
>    tex->have_mipmaps = 1;
> #ifdef BUILD_MMX
>    if (mmx) evas_common_cpu_end_opt();
>

shouldn't the cache system of the images be used ?

Vincent

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to