Merge pull request #73286 from RedworkDE/export-format-bptc

Fix `texture_format/bptc` export option
This commit is contained in:
Rémi Verschelde 2023-02-14 15:58:15 +01:00
commit 8c7b98d452
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -33,6 +33,9 @@
#include "core/config/project_settings.h"
void EditorExportPlatformPC::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const {
if (p_preset->get("texture_format/bptc")) {
r_features->push_back("bptc");
}
if (p_preset->get("texture_format/s3tc")) {
r_features->push_back("s3tc");
}