Skip to content

Commit

Permalink
Merge pull request #73286 from RedworkDE/export-format-bptc
Browse files Browse the repository at this point in the history
Fix `texture_format/bptc` export option
  • Loading branch information
akien-mga committed Feb 14, 2023
2 parents 93d1cfe + 1fb2b66 commit 8c7b98d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/export/editor_export_platform_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 8c7b98d

Please sign in to comment.