summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_image.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:36:57 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:36:57 -0500
commit6b046ec845b6e0dc5d87f8d6f6524d1794678727 (patch)
tree66db8c4a8432bdbfd0c46b1410986657f263d999 /src/modules/evas/engines/gl_common/evas_gl_image.c
parentc388e853f879191e7e76d567a5f96aa07492fa72 (diff)
efl.gfx: remove Efl.Gfx.Image_Load_Error
Summary: this is now implemented through Eina.Error ref T7718 Depends on D8066 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7718 Differential Revision: https://phab.enlightenment.org/D8067
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c b/src/modules/evas/engines/gl_common/evas_gl_image.c
index 03f4f1f8c2..c7a854f34d 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -811,8 +811,8 @@ evas_gl_common_image_update(Evas_Engine_GL_Context *gc, Evas_GL_Image *im)
811 evas_cache_image_unload_data(ie); 811 evas_cache_image_unload_data(ie);
812 } 812 }
813 else if (!im->tex && 813 else if (!im->tex &&
814 ((ie->load_error == EFL_GFX_IMAGE_LOAD_ERROR_NONE) || 814 ((ie->load_error == EVAS_LOAD_ERROR_NONE) ||
815 (ie->load_error == EFL_GFX_IMAGE_LOAD_ERROR_CANCELLED))) 815 (ie->load_error == EVAS_LOAD_ERROR_CANCELLED)))
816 { 816 {
817 ie->load_error = evas_cache_image_load_data(ie); 817 ie->load_error = evas_cache_image_load_data(ie);
818 im->tex = evas_gl_common_texture_new(gc, im->im, im->disable_atlas); 818 im->tex = evas_gl_common_texture_new(gc, im->im, im->disable_atlas);
@@ -829,8 +829,8 @@ evas_gl_common_image_update(Evas_Engine_GL_Context *gc, Evas_GL_Image *im)
829 evas_cache_image_unload_data(ie); 829 evas_cache_image_unload_data(ie);
830 } 830 }
831 else if (!im->tex && 831 else if (!im->tex &&
832 ((ie->load_error == EFL_GFX_IMAGE_LOAD_ERROR_NONE) || 832 ((ie->load_error == EVAS_LOAD_ERROR_NONE) ||
833 (ie->load_error == EFL_GFX_IMAGE_LOAD_ERROR_CANCELLED))) 833 (ie->load_error == EVAS_LOAD_ERROR_CANCELLED)))
834 { 834 {
835 ie->load_error = evas_cache_image_load_data(ie); 835 ie->load_error = evas_cache_image_load_data(ie);
836 im->tex = evas_gl_common_texture_rgb_a_pair_new(gc, im->im); 836 im->tex = evas_gl_common_texture_rgb_a_pair_new(gc, im->im);