summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHirotoshi Yoshitaka <tyounan.moti@gmail.com>2022-12-21 17:29:38 +0900
committerHirotoshi Yoshitaka <tyounan.moti@gmail.com>2022-12-21 17:29:38 +0900
commitd144e278ac672b0de58932e740054a30bd822c98 (patch)
treeaf098531d9797ddb2b8f0af08889d1e814df4dec
parent2a04b18d37de6c6e621db5a9dfd1cd0da5ccb015 (diff)
Fix Basis Universal format texture rendering failure
Fix "failed! on level 0" error message on exported projects with Basis Universal textures.
-rw-r--r--modules/basis_universal/register_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/basis_universal/register_types.cpp b/modules/basis_universal/register_types.cpp
index 155f7809b0..8d21541341 100644
--- a/modules/basis_universal/register_types.cpp
+++ b/modules/basis_universal/register_types.cpp
@@ -277,6 +277,7 @@ void initialize_basis_universal_module(ModuleInitializationLevel p_level) {
basisu_encoder_init();
Image::basis_universal_packer = basis_universal_packer;
#endif
+ basist::basisu_transcoder_init();
Image::basis_universal_unpacker = basis_universal_unpacker;
Image::basis_universal_unpacker_ptr = basis_universal_unpacker_ptr;
}