mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix texture_format/bptc export option
This commit is contained in:
parent
830eff64a7
commit
1fb2b662e1
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
|
|
||||||
void EditorExportPlatformPC::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const {
|
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")) {
|
if (p_preset->get("texture_format/s3tc")) {
|
||||||
r_features->push_back("s3tc");
|
r_features->push_back("s3tc");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue