summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c5
1 files changed, 4 insertions, 1 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 6c3b0343a6..4f0c0b3e24 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -1267,7 +1267,10 @@ evas_gl_common_texture_update(Evas_GL_Texture *tex, RGBA_Image *im)
1267 } 1267 }
1268 1268
1269 // if preloaded, then async push it in after uploading a miniature of it 1269 // if preloaded, then async push it in after uploading a miniature of it
1270 if (im->cache_entry.flags.preload_done && tex->w > 2 * EVAS_GL_TILE_SIZE && tex->h > 2 * EVAS_GL_TILE_SIZE) 1270 if (im->cache_entry.flags.preload_done
1271 && (tex->w > (2 * EVAS_GL_TILE_SIZE))
1272 && (tex->h > (2 * EVAS_GL_TILE_SIZE))
1273 && evas_gl_preload_enabled())
1271 { 1274 {
1272 Evas_GL_Texture_Async_Preload *async; 1275 Evas_GL_Texture_Async_Preload *async;
1273 unsigned char *in; 1276 unsigned char *in;