Merge fix for issue 134 into trunk.
This commit is contained in:
@ -482,8 +482,11 @@ int main(int argc, char *argv[])
|
||||
// Dither alpha when using BC2.
|
||||
compressionOptions.setQuantization(false, true, false);
|
||||
}
|
||||
|
||||
if (format == nvtt::Format_RGBA)
|
||||
else if (format == nvtt::Format_BC1a) {
|
||||
// Binary alpha when using BC1a.
|
||||
compressionOptions.setQuantization(false, true, true, 127);
|
||||
}
|
||||
else if (format == nvtt::Format_RGBA)
|
||||
{
|
||||
if (luminance)
|
||||
{
|
||||
|
Reference in New Issue
Block a user