Edje: Add support for ETC1+Alpha

If the image is not opaque and etc1 is selected, choose
ETC1_ALPHA as encoding format.
This commit is contained in:
Jean-Philippe Andre 2014-07-11 15:18:52 +09:00
parent 68a8063f9a
commit 8ce52c2380
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ data_thread_image(void *data, Ecore_Thread *thread EINA_UNUSED)
if (qual > max_quality) qual = max_quality;
// Enable TGV with LZ4. A bit redundant with EET compression.
comp = !no_comp;
lossy = EET_IMAGE_ETC1;
lossy = opaque ? EET_IMAGE_ETC1 : EET_IMAGE_ETC1_ALPHA;
}
if (mode == 4)
{