1
0
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:
Hugo Locurcio
2019-06-13 22:37:19 +02:00
parent bd937ea397
commit 786a7341a7
13 changed files with 19 additions and 16 deletions

View File

@@ -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);