summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-06-26 11:49:16 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-06-26 11:49:16 +0900
commitd64c808a733321dfec13d3fe677278d0cdb817b4 (patch)
tree6325426d98f6b1046cd104313d95748acb2e4ef4
parente920c2cc7619b496a4b07c35ec784d2dacd0dad2 (diff)
evas: check wether we do have a data or not.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c1
1 files changed, 1 insertions, 0 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 426549cc74..cbd57b21aa 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)
825 } 825 }
826 // If image was preloaded then we need a ptt 826 // If image was preloaded then we need a ptt
827 if (!tex->pt) return; 827 if (!tex->pt) return;
828 if (!im->image.data) return;
828 829
829 // if preloaded, then async push it in after uploading a miniature of it 830 // if preloaded, then async push it in after uploading a miniature of it
830 if (im->cache_entry.flags.preload_done && tex->w > 2 * EVAS_GL_TILE_SIZE && tex->h > 2 * EVAS_GL_TILE_SIZE) 831 if (im->cache_entry.flags.preload_done && tex->w > 2 * EVAS_GL_TILE_SIZE && tex->h > 2 * EVAS_GL_TILE_SIZE)