Revert "Evas GL: Fix crash with dynamic hint set using tbm surface"

Upcoming patch will fix this crash issue in a more proper way, so I revert this patch here.

This reverts commit 8b1b8d5cf0.
This commit is contained in:
Dongyeon Kim 2015-11-11 16:15:24 +09:00 committed by Chris Michael
parent 1ac54c1e77
commit c823935828
1 changed files with 1 additions and 5 deletions

View File

@ -622,10 +622,6 @@ evas_gl_common_image_content_hint_set(Evas_GL_Image *im, int hint)
}
if (im->content_hint == EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
{
Evas_GL_Texture *tex;
tex = evas_gl_common_texture_dynamic_new(im->gc, im);
if (!tex) return;
if (im->cs.data)
{
if (!im->cs.no_free) free(im->cs.data);
@ -654,7 +650,7 @@ evas_gl_common_image_content_hint_set(Evas_GL_Image *im, int hint)
evas_gl_common_texture_free(im->tex, EINA_TRUE);
im->tex = NULL;
}
im->tex = tex;
im->tex = evas_gl_common_texture_dynamic_new(im->gc, im);
im->tex_only = 1;
}
else