Evas: Fix ETC2 encoding with RGB images (no alpha)

This commit is contained in:
Jean-Philippe Andre 2014-06-13 15:52:45 +09:00
parent 9ac266c78e
commit c79a8b43b6
1 changed files with 1 additions and 1 deletions

View File

@ -1030,7 +1030,7 @@ etc2_rgb8_block_pack(unsigned char *etc2, const unsigned int *bgra,
bestSolution = k;
}
memcpy(etc2 + 8, etc2_try[bestSolution], 8);
memcpy(etc2, etc2_try[bestSolution], 8);
return minErr;
}