Fix #12220: Add Decompress Bc5 to Squish
This Commit fixes the corrupted file preview described in #12220. Added DecompressColourBc5 function to squish.
This commit is contained in:
parent
92a8a505a0
commit
e021097c80
5 changed files with 246 additions and 1 deletions
3
thirdparty/squish/colourblock.h
vendored
3
thirdparty/squish/colourblock.h
vendored
|
|
@ -35,6 +35,9 @@ void WriteColourBlock3( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void*
|
|||
void WriteColourBlock4( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void* block );
|
||||
|
||||
void DecompressColour( u8* rgba, void const* block, bool isDxt1 );
|
||||
// -- GODOT start --
|
||||
void DecompressColourBc5( u8* rgba, void const* block );
|
||||
// -- GODOT end --
|
||||
|
||||
} // namespace squish
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue