evas: check wether we do have a data or not.

This commit is contained in:
Cedric Bail 2013-06-26 11:49:16 +09:00
parent e920c2cc76
commit d64c808a73
1 changed files with 1 additions and 0 deletions

View File

@ -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)