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-07 16:06:03 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-08 12:06:20 -0800
commit58fb597acc362a225f84110026d73979caa62268 (patch)
tree08c6d87e9ade74f6229d0433a092257fd55633b3 /src/modules/evas/engines/gl_common/evas_gl_image.c
parent04ccdefb3bba4070e38946c070403936aaf80898 (diff)
Revert "Emile: Move colorspaces to Efl.Gfx"
This reverts commit 0d41ad0c837a2e1655a4d41c28ec7f0ccf10639c. stop defining legacy types to eo types!!!! https://i.redd.it/95mmznk5wo021.gif Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8243
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c4
1 files changed, 2 insertions, 2 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 c7a854f34d..ffe29e39b2 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -904,9 +904,9 @@ evas_gl_common_image_surface_update(Evas_GL_Image *im)
904 if (!im || !im->gc || !im->im || !im->im->image.data) 904 if (!im || !im->gc || !im->im || !im->im->image.data)
905 goto fail; 905 goto fail;
906 906
907 if (im->im->cache_entry.space == EFL_GFX_COLORSPACE_ARGB8888) 907 if (im->im->cache_entry.space == (Evas_Colorspace)EFL_GFX_COLORSPACE_ARGB8888)
908 alpha = EINA_FALSE; 908 alpha = EINA_FALSE;
909 else if (im->im->cache_entry.space == EFL_GFX_COLORSPACE_GRY8) 909 else if (im->im->cache_entry.space == (Evas_Colorspace)EFL_GFX_COLORSPACE_GRY8)
910 alpha = EINA_TRUE; 910 alpha = EINA_TRUE;
911 else goto fail; 911 else goto fail;
912 912