mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Index data is already available.
This commit is contained in:
parent
f1f4f48c38
commit
2ad3f9b51f
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user