1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

ios now displays splash screen between launch image and main scene, instead of a black screen

This commit is contained in:
steve
2015-09-10 15:01:02 -07:00
parent 4e8dcc8938
commit b0e5031f1f
5 changed files with 13 additions and 0 deletions

View File

@@ -7427,6 +7427,8 @@ void VisualServerRaster::set_boot_image(const Image& p_image, const Color& p_col
if (p_image.empty())
return;
rasterizer->restore_framebuffer();
rasterizer->begin_frame();
int window_w = OS::get_singleton()->get_video_mode(0).width;