summaryrefslogtreecommitdiff
path: root/src/static_libs/rg_etc
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-06-13 15:52:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-06-13 15:59:23 +0900
commitc79a8b43b66916ea32dac06db4c17ef1048806a5 (patch)
tree95428f21cd73e861a9ebc371b618ea24222285c8 /src/static_libs/rg_etc
parent9ac266c78e25ac94bd7fdff129455f9fe2aa735b (diff)
Evas: Fix ETC2 encoding with RGB images (no alpha)
Diffstat (limited to 'src/static_libs/rg_etc')
-rw-r--r--src/static_libs/rg_etc/etc2_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static_libs/rg_etc/etc2_encoder.c b/src/static_libs/rg_etc/etc2_encoder.c
index b4db45062f..2928974df2 100644
--- a/src/static_libs/rg_etc/etc2_encoder.c
+++ b/src/static_libs/rg_etc/etc2_encoder.c
@@ -1030,7 +1030,7 @@ etc2_rgb8_block_pack(unsigned char *etc2, const unsigned int *bgra,
1030 bestSolution = k; 1030 bestSolution = k;
1031 } 1031 }
1032 1032
1033 memcpy(etc2 + 8, etc2_try[bestSolution], 8); 1033 memcpy(etc2, etc2_try[bestSolution], 8);
1034 1034
1035 return minErr; 1035 return minErr;
1036} 1036}