Merge fix for issue 134 into trunk.

This commit is contained in:
castano
2010-08-26 16:46:03 +00:00
parent 83e249a1a0
commit 47e8f23e9f
3 changed files with 7 additions and 4 deletions

View File

@ -533,7 +533,7 @@ void QuickCompress::compressDXT1a(const ColorBlock & rgba, BlockDXT1 * dxtBlock)
for (uint i = 0; i < 16; i++)
{
if (rgba.color(i).a < 128) {
if (rgba.color(i).a == 0) {
hasAlpha = true;
break;
}