Merge pull request #70391 from TyounanMOTI/fix-basis-universal-transcode

Fix Basis Universal format texture rendering failure
This commit is contained in:
Rémi Verschelde 2022-12-21 22:23:56 +01:00
commit d553dca62a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ void initialize_basis_universal_module(ModuleInitializationLevel p_level) {
basisu_encoder_init(); basisu_encoder_init();
Image::basis_universal_packer = basis_universal_packer; Image::basis_universal_packer = basis_universal_packer;
#endif #endif
basist::basisu_transcoder_init();
Image::basis_universal_unpacker = basis_universal_unpacker; Image::basis_universal_unpacker = basis_universal_unpacker;
Image::basis_universal_unpacker_ptr = basis_universal_unpacker_ptr; Image::basis_universal_unpacker_ptr = basis_universal_unpacker_ptr;
} }