You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Add an option to disable boot splash filtering
Disabling filtering is usually desired in projects using a pixel art style. This closes #19415.
This commit is contained in:
@@ -153,10 +153,10 @@ int VisualServerRaster::get_render_info(RenderInfo p_info) {
|
||||
|
||||
/* TESTING */
|
||||
|
||||
void VisualServerRaster::set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale) {
|
||||
void VisualServerRaster::set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale, bool p_use_filter) {
|
||||
|
||||
redraw_request();
|
||||
VSG::rasterizer->set_boot_image(p_image, p_color, p_scale);
|
||||
VSG::rasterizer->set_boot_image(p_image, p_color, p_scale, p_use_filter);
|
||||
}
|
||||
void VisualServerRaster::set_default_clear_color(const Color &p_color) {
|
||||
VSG::viewport->set_default_clear_color(p_color);
|
||||
|
||||
Reference in New Issue
Block a user