From df19be3a5d23be4b10d689fb5d70887b2f3b73cf Mon Sep 17 00:00:00 2001 From: castano Date: Mon, 17 Dec 2007 05:21:49 +0000 Subject: [PATCH] Do not set mipmap generation filter. --- src/nvtt/tools/compress.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/nvtt/tools/compress.cpp b/src/nvtt/tools/compress.cpp index e5659c8..afb1000 100644 --- a/src/nvtt/tools/compress.cpp +++ b/src/nvtt/tools/compress.cpp @@ -335,16 +335,6 @@ int main(int argc, char *argv[]) inputOptions.setMipmapData(image.pixels(), image.width(), image.height()); } - if (fast) - { - inputOptions.setMipmapping(true, nvtt::MipmapFilter_Box); - } - else - { - inputOptions.setMipmapping(true, nvtt::MipmapFilter_Box); - //inputOptions.setMipmapping(true, nvtt::MipmapFilter_Kaiser); - } - if (wrapRepeat) { inputOptions.setWrapMode(nvtt::WrapMode_Repeat);