Remove errorThreshold.

This commit is contained in:
castano
2008-01-18 23:50:22 +00:00
parent 3383851e44
commit c8ac20ee0f
5 changed files with 2 additions and 7 deletions

View File

@ -364,9 +364,6 @@ void nv::compressBC4(const Image * image, const nvtt::OutputOptions::Private & o
const uint w = image->width();
const uint h = image->height();
// threshold should be from [0 - 1] but may also be higher...
const uint threshold = uint(compressionOptions.errorThreshold * 256);
ColorBlock rgba;
AlphaBlockDXT5 block;