evas/gl_generic: Recreate texture when native surface image size is changed.

Summary:
Now, if image is native, do not recreate texture when image size is changed.
Recreate next native surface set time. So during the time between image_size_set and native_surface_set, native image is fragile. Fix it.

Test Plan: Local Test

Reviewers: spacegrapher, jpeg, wonsik, dkdk, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4153
This commit is contained in:
Minkyoung Kim 2016-07-12 14:11:36 +09:00 committed by Carsten Haitzler (Rasterman)
parent c52eda0bf1
commit fd1917e90d
1 changed files with 1 additions and 0 deletions

View File

@ -594,6 +594,7 @@ eng_image_size_set(void *data, void *image, int w, int h)
{
im->w = w;
im->h = h;
evas_gl_common_image_native_enable(im);
return image;
}
re->window_use(re->software.ob);