Index data is already available.

This commit is contained in:
Bartosz Taudul 2020-04-05 15:09:13 +02:00
parent f1f4f48c38
commit 2ad3f9b51f

View File

@ -157,8 +157,6 @@ void TextureCompression::Rdo( char* data, size_t blocks )
if( maxDelta23 <= tr2 ) if( maxDelta23 <= tr2 )
{ {
uint32_t idx;
memcpy( &idx, data+4, 4 );
idx &= 0x55555555; idx &= 0x55555555;
memcpy( data+4, &idx, 4 ); memcpy( data+4, &idx, 4 );
} }