summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2016-09-20 14:20:48 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-09-20 15:01:48 -0700
commitb437bfb3feee9db3b523a8d3c8deb3bc20b1aaa8 (patch)
treef748d2b2bfd2add4cb5defa0e33122b51978643f /src/lib
parent61b66338a948d98a3b90ad48b323855f69aca52c (diff)
eet: set alpha_texture for ETC1+Alpha
Summary: alpha_texture need to be set EINA_TRUE to support ETC1+Alpha @fix Test Plan: Create an EDC file with png image with Alpha. compress image with ETC1 and ETC2. Observe Alpha is properly applied in both case. Reviewers: jpeg, Hermet, cedric Reviewed By: cedric Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4307 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eet/eet_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index 38a0bdcc2d..1da7985d99 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -855,6 +855,7 @@ eet_data_image_etc1_compressed_convert(int *size,
855 etc_block_size = 8; 855 etc_block_size = 8;
856 num_planes = 2; // RGB and Alpha 856 num_planes = 2; // RGB and Alpha
857 header[5] = 3; 857 header[5] = 3;
858 alpha_texture = EINA_TRUE;
858 codec = "ETC1+Alpha"; 859 codec = "ETC1+Alpha";
859 break; 860 break;
860 default: abort(); 861 default: abort();