mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Changed: Applied Kaetemi patch to disable old S3TC library mistakes
This commit is contained in:
parent
6ab274422a
commit
e344fe26cb
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,9 @@ static void compressMipMap(uint8 *pixSrc, sint width, sint height, vector<uint8
|
||||||
squish::CompressImage(pixSrc, width, height, &(*compdata.begin()), flags);
|
squish::CompressImage(pixSrc, width, height, &(*compdata.begin()), flags);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#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 )
|
||||||
|
@ -157,6 +160,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…
Reference in a new issue