mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Make some Image methods static
This commit is contained in:
parent
39534a7aec
commit
072f6feaba
51 changed files with 168 additions and 292 deletions
|
@ -1551,7 +1551,7 @@ String EditorExportPlatformAndroid::load_splash_refs(Ref<Image> &splash_image, R
|
|||
|
||||
print_verbose("Creating splash background color image.");
|
||||
splash_bg_color_image.instantiate();
|
||||
splash_bg_color_image->create(splash_image->get_width(), splash_image->get_height(), false, splash_image->get_format());
|
||||
splash_bg_color_image->initialize_data(splash_image->get_width(), splash_image->get_height(), false, splash_image->get_format());
|
||||
splash_bg_color_image->fill(bg_color);
|
||||
|
||||
String processed_splash_config_xml = vformat(SPLASH_CONFIG_XML_CONTENT, bool_to_string(apply_filter));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue