From: Cedric Bail Date: Wed, 26 Jun 2013 02:49:16 +0000 (+0900) Subject: evas: check wether we do have a data or not. X-Git-Tag: submit/devel/efl/20131022.203902~577 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d64c808a733321dfec13d3fe677278d0cdb817b4;p=platform%2Fupstream%2Fefl.git evas: check wether we do have a data or not. --- 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 426549c..cbd57b2 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_texture.c +++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c @@ -825,6 +825,7 @@ evas_gl_common_texture_update(Evas_GL_Texture *tex, RGBA_Image *im) } // If image was preloaded then we need a ptt if (!tex->pt) return; + if (!im->image.data) return; // if preloaded, then async push it in after uploading a miniature of it if (im->cache_entry.flags.preload_done && tex->w > 2 * EVAS_GL_TILE_SIZE && tex->h > 2 * EVAS_GL_TILE_SIZE)