summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-02-14 13:49:35 +0100
committerRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-02-14 13:51:42 +0100
commit1fb2b662e18cddabafc168a37e1cfb85496dbd3c (patch)
tree17cd476bdd3e0a823667f405442e42c452b8fb27
parent830eff64a75a9cad211a60e91a2d804592d4d7e8 (diff)
Fix `texture_format/bptc` export option
-rw-r--r--editor/export/editor_export_platform_pc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/export/editor_export_platform_pc.cpp b/editor/export/editor_export_platform_pc.cpp
index bbfd73be5e..7f934bc45b 100644
--- a/editor/export/editor_export_platform_pc.cpp
+++ b/editor/export/editor_export_platform_pc.cpp
@@ -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");
}