Changed: Comments to support DXTC1a for textures with one level of transparency later

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 75eb7cb922
commit 03c9c93fc1

@ -43,6 +43,7 @@ static void compressMipMap(uint8 *pixSrc, sint width, sint height, vector<uint8
case DXT1A:
flags |= squish::kDxt1;
dest.ddpf.dwFourCC = MAKEFOURCC('D', 'X', 'T', '1');
// TODO: add special headers flags for DXTC1a
break;
case DXT3:
flags |= squish::kDxt3;

@ -463,6 +463,7 @@ int main(int argc, char **argv)
}
else
{
// TODO: if alpha channel is 0, use DXTC1a instead DXTC1
if(imageDepth==24)
algo = DXT1;
else

Loading…
Cancel
Save