1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Use reference to constant in functions

This commit is contained in:
qarmin
2019-07-10 11:54:12 +02:00
parent 3bfffcc568
commit 01cc7a996b
42 changed files with 82 additions and 82 deletions

View File

@@ -1249,7 +1249,7 @@ void SceneTree::_update_root_rect() {
}
}
void SceneTree::set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, real_t p_shrink) {
void SceneTree::set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 &p_minsize, real_t p_shrink) {
stretch_mode = p_mode;
stretch_aspect = p_aspect;