You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
libktx: Update to 4.3.1
This commit is contained in:
committed by
Jakub Marcowski
parent
16d61427ca
commit
1be2fe1f7b
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;
|
||||
|
||||
Reference in New Issue
Block a user