1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Removed fallback system and merged bptc into s3tc

This commit is contained in:
Juan Linietsky
2018-08-27 13:47:13 -03:00
parent 79c6a83c99
commit 0565adb20f
3 changed files with 15 additions and 38 deletions

View File

@@ -667,7 +667,7 @@ Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &
String remap = F->get();
String feature = remap.get_slice(".", 1);
if (feature == "fallback" || features.has(feature)) {
if (features.has(feature)) {
remap_features.insert(feature);
}
}
@@ -1457,7 +1457,6 @@ void EditorExportPlatformPC::resolve_platform_feature_priorities(const Ref<Edito
if (p_features.has("bptc")) {
if (p_preset->has("texture_format/no_bptc_fallbacks")) {
p_features.erase("s3tc");
p_features.erase("fallback");
}
}
}