summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_raster.cpp
diff options
context:
space:
mode:
authorsteve <steve@relm.local>2015-09-10 15:01:02 -0700
committersteve <steve@relm.local>2015-09-10 15:01:02 -0700
commitb0e5031f1fb417ea087f08649afe9a9fdf072932 (patch)
tree6923c4dfc5b2484d4b4ba077e2bd314e74b3fca8 /servers/visual/visual_server_raster.cpp
parent4e8dcc8938928864aaab2c70e594dd1f35a40167 (diff)
ios now displays splash screen between launch image and main scene, instead of a black screen
Diffstat (limited to 'servers/visual/visual_server_raster.cpp')
-rw-r--r--servers/visual/visual_server_raster.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp
index 8b47596d7e..155d10d85a 100644
--- a/servers/visual/visual_server_raster.cpp
+++ b/servers/visual/visual_server_raster.cpp
@@ -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;