summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-14 15:58:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-14 15:58:15 +0100
commit8c7b98d4526c6ba66d7f1636abb71ccbe54727c6 (patch)
treeab9f313249d9095f588d056ce380f6e30c3f917b /editor
parent93d1cfe5252fb7c033c5483ef4267d3b2d30bb4e (diff)
parent1fb2b662e18cddabafc168a37e1cfb85496dbd3c (diff)
Merge pull request #73286 from RedworkDE/export-format-bptc
Fix `texture_format/bptc` export option
Diffstat (limited to 'editor')
-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");
}