You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -124,7 +124,7 @@ void EditorExport::add_export_preset(const Ref<EditorExportPreset> &p_preset, in
|
||||
}
|
||||
|
||||
String EditorExportPlatform::test_etc2() const {
|
||||
const bool etc2_supported = ProjectSettings::get_singleton()->get("rendering/textures/vram_compression/import_etc2");
|
||||
const bool etc2_supported = GLOBAL_GET("rendering/textures/vram_compression/import_etc2");
|
||||
|
||||
if (!etc2_supported) {
|
||||
return TTR("Target platform requires 'ETC2' texture compression. Enable 'Import Etc 2' in Project Settings.");
|
||||
|
||||
Reference in New Issue
Block a user