1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[EditorExportPlatform] Move initialization to a dedicated method.

This commit is contained in:
Pāvels Nadtočajevs
2025-07-16 08:55:23 +03:00
parent 7c472e655f
commit f20e5152ad
21 changed files with 56 additions and 31 deletions

View File

@@ -4226,7 +4226,7 @@ void EditorExportPlatformAndroid::get_platform_features(List<String> *r_features
void EditorExportPlatformAndroid::resolve_platform_feature_priorities(const Ref<EditorExportPreset> &p_preset, HashSet<String> &p_features) {
}
EditorExportPlatformAndroid::EditorExportPlatformAndroid() {
void EditorExportPlatformAndroid::initialize() {
if (EditorNode::get_singleton()) {
Ref<Image> img = memnew(Image);
const bool upsample = !Math::is_equal_approx(Math::round(EDSCALE), EDSCALE);