Unverified Commit 292c037f authored by Rémi Verschelde's avatar Rémi Verschelde Committed by GitHub

Merge pull request #26921 from akien-mga/html5-etc-gles2-fallback

HTML5: Fix ETC export for GLES2 fallback on mobile
parents 0eb61c31 f1b01c96
......@@ -114,6 +114,9 @@ void EditorExportPlatformJavaScript::get_preset_features(const Ref<EditorExportP
r_features->push_back("etc");
} else if (driver == "GLES3") {
r_features->push_back("etc2");
if (ProjectSettings::get_singleton()->get("rendering/quality/driver/fallback_to_gles2")) {
r_features->push_back("etc");
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment