raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f5cff9490e04cea98d8f22530c0098f8475a685f

commit f5cff9490e04cea98d8f22530c0098f8475a685f
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Aug 7 18:25:20 2014 +0900

    evas gl - did not free all atlas formats - fix
    
    we have expanded atlas formats long since - so use #define to free
    correct amount instead of 6
---
 src/modules/evas/engines/gl_common/evas_gl_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c 
b/src/modules/evas/engines/gl_common/evas_gl_context.c
index 11e5c6d..c330f37 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -918,7 +918,7 @@ evas_gl_common_context_free(Evas_Engine_GL_Context *gc)
              evas_gl_common_image_free(gc->shared->images->data);
           }
 
-        for (j = 0; j < 6; j++)
+        for (j = 0; j < ATLAS_FORMATS_COUNT; j++)
           {
               EINA_LIST_FOREACH(gc->shared->tex.atlas[j], l, pt)
                  evas_gl_texture_pool_empty(pt);

-- 


Reply via email to