You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add framework for avoidance of color flash in new windows
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user