diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-01-19 16:09:52 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-01-19 16:09:52 +0100 |
commit | cba2fd2e8080dc999c0473ca09ba23d30fe8cf42 (patch) | |
tree | ef0fde4f88ccd116e3ab603ce86a3a8233e71c7d /servers/rendering_server.cpp | |
parent | 82efb1d262aea24b5f742820017fd11c496c3f8c (diff) | |
download | redot-engine-cba2fd2e8080dc999c0473ca09ba23d30fe8cf42.tar.gz |
Revert "Add new scaling modes for splash screen"
This reverts commit fcc9f5ce396ff921ed8253f657a8c9c38e7a878d.
The feature is good but the implementation still needs more work.
A new PR will be made with a rework of this commit.
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r-- | servers/rendering_server.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index 786cd8ad92..863aae6e4c 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -2730,7 +2730,7 @@ void RenderingServer::_bind_methods() { ClassDB::bind_method(D_METHOD("get_test_texture"), &RenderingServer::get_test_texture); ClassDB::bind_method(D_METHOD("get_white_texture"), &RenderingServer::get_white_texture); - ClassDB::bind_method(D_METHOD("set_boot_image", "image", "color", "stretch_mode", "use_filter"), &RenderingServer::set_boot_image, DEFVAL(true)); + ClassDB::bind_method(D_METHOD("set_boot_image", "image", "color", "scale", "use_filter"), &RenderingServer::set_boot_image, DEFVAL(true)); ClassDB::bind_method(D_METHOD("set_default_clear_color", "color"), &RenderingServer::set_default_clear_color); ClassDB::bind_method(D_METHOD("has_feature", "feature"), &RenderingServer::has_feature); @@ -2751,13 +2751,6 @@ void RenderingServer::_bind_methods() { BIND_ENUM_CONSTANT(RENDERING_INFO_BUFFER_MEM_USED); BIND_ENUM_CONSTANT(RENDERING_INFO_VIDEO_MEM_USED); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_DISABLED); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_KEEP); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_KEEP_WIDTH); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_KEEP_HEIGHT); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_COVER); - BIND_ENUM_CONSTANT(SPLASH_STRETCH_MODE_EXPAND); - BIND_ENUM_CONSTANT(FEATURE_SHADERS); BIND_ENUM_CONSTANT(FEATURE_MULTITHREADED); |