forked from enlightenment/efl
Emile image: Fix TGV (ETC1,2) loader
The error was not reset to NONE even in case of success.
This commit is contained in:
parent
05314902e0
commit
18d5e04bb5
|
@ -635,6 +635,7 @@ _emile_tgv_data(Emile_Image *image,
|
||||||
if (prop->cspace == EMILE_COLORSPACE_ARGB8888)
|
if (prop->cspace == EMILE_COLORSPACE_ARGB8888)
|
||||||
prop->premul = image->unpremul; /* call premul if unpremul data */
|
prop->premul = image->unpremul; /* call premul if unpremul data */
|
||||||
|
|
||||||
|
*error = EMILE_IMAGE_LOAD_ERROR_NONE;
|
||||||
r = EINA_TRUE;
|
r = EINA_TRUE;
|
||||||
|
|
||||||
on_error:
|
on_error:
|
||||||
|
|
Loading…
Reference in New Issue