Emile image: Fix TGV (ETC1,2) loader

The error was not reset to NONE even in case of success.
This commit is contained in:
Jean-Philippe Andre 2015-04-07 14:40:00 +09:00
parent 05314902e0
commit 18d5e04bb5
1 changed files with 1 additions and 0 deletions

View File

@ -635,6 +635,7 @@ _emile_tgv_data(Emile_Image *image,
if (prop->cspace == EMILE_COLORSPACE_ARGB8888)
prop->premul = image->unpremul; /* call premul if unpremul data */
*error = EMILE_IMAGE_LOAD_ERROR_NONE;
r = EINA_TRUE;
on_error: