mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
libktx: Update to 4.3.1
This commit is contained in:
parent
16d61427ca
commit
1be2fe1f7b
30 changed files with 2734 additions and 658 deletions
6
thirdparty/libktx/lib/basis_transcode.cpp
vendored
6
thirdparty/libktx/lib/basis_transcode.cpp
vendored
|
|
@ -372,6 +372,12 @@ ktxTexture2_transcodeUastc(ktxTexture2* This,
|
|||
This->dataSize = prototype->dataSize;
|
||||
prototype->pData = 0;
|
||||
prototype->dataSize = 0;
|
||||
// Free SGD data
|
||||
This->_private->_sgdByteLength = 0;
|
||||
if (This->_private->_supercompressionGlobalData) {
|
||||
free(This->_private->_supercompressionGlobalData);
|
||||
This->_private->_supercompressionGlobalData = NULL;
|
||||
}
|
||||
}
|
||||
ktxTexture2_Destroy(prototype);
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue