diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-29 15:09:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-07-29 15:09:42 -0300 |
commit | 7b63c6323d2eeade5a6d6e82b44e72ff4e1b6d0c (patch) | |
tree | e722609fd37c27ee643a44e7b1da7af6a92b241f /servers/visual/visual_server_raster.cpp | |
parent | c752c2642720820e17ed7d0ca223f60aee3b2739 (diff) |
Clear color was not correctly being set, fixes #4939
Diffstat (limited to 'servers/visual/visual_server_raster.cpp')
-rw-r--r-- | servers/visual/visual_server_raster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp index 6bf3670e5a..c7d33ec43c 100644 --- a/servers/visual/visual_server_raster.cpp +++ b/servers/visual/visual_server_raster.cpp @@ -161,6 +161,7 @@ void VisualServerRaster::set_boot_image(const Ref<Image> &p_image, const Color & VSG::rasterizer->set_boot_image(p_image, p_color, p_scale); } void VisualServerRaster::set_default_clear_color(const Color &p_color) { + VSG::viewport->set_default_clear_color(p_color); } bool VisualServerRaster::has_feature(Features p_feature) const { |