mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add framework for avoidance of color flash in new windows
This commit is contained in:
parent
73ab514657
commit
d0e37cd04c
11 changed files with 55 additions and 3 deletions
|
@ -291,6 +291,10 @@ void RenderingServerDefault::set_boot_image(const Ref<Image> &p_image, const Col
|
|||
RSG::rasterizer->set_boot_image(p_image, p_color, p_scale, p_use_filter);
|
||||
}
|
||||
|
||||
Color RenderingServerDefault::get_default_clear_color() {
|
||||
return RSG::texture_storage->get_default_clear_color();
|
||||
}
|
||||
|
||||
void RenderingServerDefault::set_default_clear_color(const Color &p_color) {
|
||||
RSG::viewport->set_default_clear_color(p_color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue