Misc changes.

This commit is contained in:
castano 2012-08-28 16:44:23 +00:00
parent bff3dab505
commit ac3f2d1794
2 changed files with 5 additions and 5 deletions

View File

@ -497,11 +497,11 @@ int main(int argc, char *argv[])
if (format == nvtt::Format_BC2) { if (format == nvtt::Format_BC2) {
// Dither alpha when using BC2. // Dither alpha when using BC2.
compressionOptions.setQuantization(false, true, false); compressionOptions.setQuantization(/*color dithering*/false, /*alpha dithering*/true, /*binary alpha*/false);
} }
else if (format == nvtt::Format_BC1a) { else if (format == nvtt::Format_BC1a) {
// Binary alpha when using BC1a. // Binary alpha when using BC1a.
compressionOptions.setQuantization(false, true, true, 127); compressionOptions.setQuantization(/*color dithering*/false, /*alpha dithering*/true, /*binary alpha*/true, 127);
} }
else if (format == nvtt::Format_RGBA) else if (format == nvtt::Format_RGBA)
{ {