summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-12-27 14:09:45 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-12-27 14:10:37 +0100
commit61b6986880d82e294e20e487c2f9b7c52a89ad74 (patch)
tree237c6f1edc3ba787aee87d31407ea996189c7721 /src/modules
parent671b04faee529c4586650eb0b1f3f759a1443c31 (diff)
evas: first destroy the rectangle, then the pool.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_preload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_preload.c b/src/modules/evas/engines/gl_common/evas_gl_preload.c
index 7881e3f828..17836c2ec2 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_preload.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_preload.c
@@ -115,10 +115,10 @@ _evas_gl_preload_main_loop_wakeup(void)
115 async->tex->ptt->allocations = 115 async->tex->ptt->allocations =
116 eina_list_remove(async->tex->ptt->allocations, 116 eina_list_remove(async->tex->ptt->allocations,
117 async->tex->aptt); 117 async->tex->aptt);
118 pt_unref(async->tex->ptt);
119 async->tex->ptt = NULL;
120 eina_rectangle_pool_release(async->tex->aptt); 118 eina_rectangle_pool_release(async->tex->aptt);
121 async->tex->aptt = NULL; 119 async->tex->aptt = NULL;
120 pt_unref(async->tex->ptt);
121 async->tex->ptt = NULL;
122 122
123 evas_gl_common_texture_free(async->tex, EINA_FALSE); 123 evas_gl_common_texture_free(async->tex, EINA_FALSE);
124 } 124 }