Changed: Disabled some old code

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent 5fc4a3b622
commit df9ce91f19

@ -63,6 +63,9 @@ static void compressMipMap(uint8 *pixSrc, sint width, sint height, vector<uint8
float weight[3] = {0.3086f, 0.6094f, 0.0820f}; float weight[3] = {0.3086f, 0.6094f, 0.0820f};
squish::CompressImage(pixSrc, width, height, &(*compdata.begin()), flags, weight); squish::CompressImage(pixSrc, width, height, &(*compdata.begin()), flags, weight);
#if 0
// This code was for the previous compression library, if I remember correctly.
// It should no longer be relevant.
/* S3TC is a very good compressor, but make BIG mistakes in some case with DXTC5 and DXTC3 /* S3TC is a very good compressor, but make BIG mistakes in some case with DXTC5 and DXTC3
*/ */
if( algo==DXT5 || algo==DXT3 ) if( algo==DXT5 || algo==DXT3 )
@ -153,6 +156,7 @@ static void compressMipMap(uint8 *pixSrc, sint width, sint height, vector<uint8
nlinfo("Fix %d blocks on %d total ", numFixedBlock, numTotalBlock); nlinfo("Fix %d blocks on %d total ", numFixedBlock, numTotalBlock);
} }
} }
#endif
} }

Loading…
Cancel
Save