Skip to content

Commit

Permalink
Fix texture_format/bptc export option
Browse files Browse the repository at this point in the history
  • Loading branch information
RedworkDE committed Feb 14, 2023
1 parent 830eff6 commit 1fb2b66
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 1fb2b66

Please sign in to comment.