summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index 77c55f593b..5d99e07be0 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -941,7 +941,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, i
941error: 941error:
942 if (pt->dyn.img) 942 if (pt->dyn.img)
943 { 943 {
944 secsym_eglDestroyImage(egldisplay, pt->dyn.img); 944 eglsym_eglDestroyImage(egldisplay, pt->dyn.img);
945 pt->dyn.img = NULL; 945 pt->dyn.img = NULL;
946 } 946 }
947 glBindTexture(pt->dyn.target, 0); 947 glBindTexture(pt->dyn.target, 0);
@@ -1005,7 +1005,7 @@ evas_gl_texture_pool_empty(Evas_GL_Texture_Pool *pt)
1005 } 1005 }
1006 if (pt->dyn.buffer) 1006 if (pt->dyn.buffer)
1007 secsym_tbm_surface_destroy(pt->dyn.buffer); 1007 secsym_tbm_surface_destroy(pt->dyn.buffer);
1008 secsym_eglDestroyImage(pt->gc->egldisp, pt->dyn.img); 1008 eglsym_eglDestroyImage(pt->gc->egldisp, pt->dyn.img);
1009 pt->dyn.img = NULL; 1009 pt->dyn.img = NULL;
1010 pt->dyn.buffer = NULL; 1010 pt->dyn.buffer = NULL;
1011 pt->dyn.data = NULL; 1011 pt->dyn.data = NULL;