Update squish library to 1.11

This commit is contained in:
thecelloman 2013-03-04 14:37:50 -05:00
parent 31036c4031
commit 8de0b7cbb1
14 changed files with 99 additions and 247 deletions

View file

@ -24,7 +24,6 @@
-------------------------------------------------------------------------- */
#include "colourset.h"
#include "squishMath.h"
namespace squish {
@ -104,7 +103,7 @@ ColourSet::ColourSet( u8 const* rgba, int mask, int flags )
// square root the weights
for( int i = 0; i < m_count; ++i )
m_weights[i] = SquishMath::sqrt( m_weights[i] );
m_weights[i] = std::sqrt( m_weights[i] );
}
void ColourSet::RemapIndices( u8 const* source, u8* target ) const