diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-04-09 20:02:04 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-04-09 20:03:38 -0300 |
commit | 7ba71fb24346fb87f50a9eb4aa6b675c31507528 (patch) | |
tree | 46ab1cb9a5379e51207b4c3af48348c97f38642b /servers/visual | |
parent | d596946a454dd9a89fdf84232f5ff7ce1add4f46 (diff) |
Restored (And auto-generated) splash image
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/rasterizer.h | 2 | ||||
-rw-r--r-- | servers/visual/visual_server_raster.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 669c2aaf2b..ff679bc15f 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -931,6 +931,8 @@ public: virtual RasterizerCanvas *get_canvas() = 0; virtual RasterizerScene *get_scene() = 0; + virtual void set_boot_image(const Image &p_image, const Color &p_color, bool p_scale) = 0; + virtual void initialize() = 0; virtual void begin_frame() = 0; virtual void set_current_render_target(RID p_render_target) = 0; diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp index 93a2b67088..9c1595425c 100644 --- a/servers/visual/visual_server_raster.cpp +++ b/servers/visual/visual_server_raster.cpp @@ -122,6 +122,8 @@ int VisualServerRaster::get_render_info(RenderInfo p_info) { /* TESTING */ void VisualServerRaster::set_boot_image(const Image &p_image, const Color &p_color, bool p_scale) { + + VSG::rasterizer->set_boot_image(p_image, p_color, p_scale); } void VisualServerRaster::set_default_clear_color(const Color &p_color) { } |