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.c10
1 files changed, 0 insertions, 10 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 5d99e07be0..cc5ed6bd13 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -1523,11 +1523,6 @@ evas_gl_common_texture_update(Evas_GL_Texture *tex, RGBA_Image *im)
1523 async->tex = tex; 1523 async->tex = tex;
1524 async->tex->references++; 1524 async->tex->references++;
1525 async->im = im; 1525 async->im = im;
1526#ifdef EVAS_CSERVE2
1527 if (evas_cache2_image_cached(&async->im->cache_entry))
1528 evas_cache2_image_ref(&async->im->cache_entry);
1529 else
1530#endif
1531 evas_cache_image_ref(&async->im->cache_entry); 1526 evas_cache_image_ref(&async->im->cache_entry);
1532 async->unpack_row_length = tex->gc->shared->info.unpack_row_length; 1527 async->unpack_row_length = tex->gc->shared->info.unpack_row_length;
1533 1528
@@ -1536,11 +1531,6 @@ evas_gl_common_texture_update(Evas_GL_Texture *tex, RGBA_Image *im)
1536 1531
1537 // Failed to start asynchronous upload, likely due to preload not being supported by the backend 1532 // Failed to start asynchronous upload, likely due to preload not being supported by the backend
1538 async->tex->references--; 1533 async->tex->references--;
1539#ifdef EVAS_CSERVE2
1540 if (evas_cache2_image_cached(&async->im->cache_entry))
1541 evas_cache2_image_close(&async->im->cache_entry);
1542 else
1543#endif
1544 evas_cache_image_drop(&async->im->cache_entry); 1534 evas_cache_image_drop(&async->im->cache_entry);
1545 free(async); 1535 free(async);
1546 1536