Fix Basis Universal format texture rendering failure

Fix "failed! on level 0" error message on exported projects with Basis Universal textures.
This commit is contained in:
Hirotoshi Yoshitaka 2022-12-21 17:29:38 +09:00
parent 2a04b18d37
commit d144e278ac

View file

@ -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;
}