You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
HTML5: Fix ETC export for GLES2 fallback on mobile
This commit is contained in:
@@ -114,6 +114,9 @@ void EditorExportPlatformJavaScript::get_preset_features(const Ref<EditorExportP
|
|||||||
r_features->push_back("etc");
|
r_features->push_back("etc");
|
||||||
} else if (driver == "GLES3") {
|
} else if (driver == "GLES3") {
|
||||||
r_features->push_back("etc2");
|
r_features->push_back("etc2");
|
||||||
|
if (ProjectSettings::get_singleton()->get("rendering/quality/driver/fallback_to_gles2")) {
|
||||||
|
r_features->push_back("etc");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user