Add support for D3D9 and D3D10 decoders. Fixes issue 157.

This commit is contained in:
castano
2011-02-25 09:27:40 +00:00
parent 94dce3b623
commit 0a290a64cc
8 changed files with 104 additions and 82 deletions

View File

@ -381,7 +381,7 @@ namespace
static uint computeAlphaIndices(const ColorBlock & rgba, AlphaBlockDXT5 * block)
{
uint8 alphas[8];
block->evaluatePalette(alphas);
block->evaluatePalette(alphas, false); // @@ Use target decoder.
uint totalError = 0;