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

@ -2047,7 +2047,7 @@ void VisualServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_test_texture"), &VisualServer::get_test_texture);
ClassDB::bind_method(D_METHOD("get_white_texture"), &VisualServer::get_white_texture);
ClassDB::bind_method(D_METHOD("set_boot_image", "image", "color", "scale"), &VisualServer::set_boot_image);
ClassDB::bind_method(D_METHOD("set_boot_image", "image", "color", "scale", "use_filter"), &VisualServer::set_boot_image, DEFVAL(true));
ClassDB::bind_method(D_METHOD("set_default_clear_color", "color"), &VisualServer::set_default_clear_color);
ClassDB::bind_method(D_METHOD("has_feature", "feature"), &VisualServer::has_feature);