Work on fixing compile.

This commit is contained in:
Relintai 2023-01-09 20:02:49 +01:00
parent 12276aa334
commit 0c6a7f4e3c

View File

@ -165,11 +165,8 @@ void ESSMaterialCachePCM::_setup_material_albedo(Ref<Texture> texture) {
ESSMaterialCachePCM::ESSMaterialCachePCM() { ESSMaterialCachePCM::ESSMaterialCachePCM() {
_packer.instantiate(); _packer.instantiate();
#if GODOT4 #warning implement
#warning implement //_packer->set_texture_flags(Texture::FLAG_MIPMAPS | Texture::FLAG_FILTER);
#else
_packer->set_texture_flags(Texture::FLAG_MIPMAPS | Texture::FLAG_FILTER);
#endif
_packer->set_max_atlas_size(1024); _packer->set_max_atlas_size(1024);
_packer->set_keep_original_atlases(false); _packer->set_keep_original_atlases(false);