diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 21:05:51 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 21:05:51 +0100 |
commit | a16b0fec4093b22ef5f14c1a4eb9363c890ab06d (patch) | |
tree | 3a43cce57da65da483032f5bc66f78394d896a6d /scene/main/window.cpp | |
parent | 9caf691c89c79f0eaffc2725cce8895c51186972 (diff) | |
parent | 6743ac34d334f6067b80456dbf0b2e1a4d99d57b (diff) |
Merge pull request #72618 from Sauermann/fix-simplify-set-size
Simplify Viewport::_set_size
Diffstat (limited to 'scene/main/window.cpp')
-rw-r--r-- | scene/main/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/window.cpp b/scene/main/window.cpp index b6f1d3f54b..be2a0dca13 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -1004,7 +1004,7 @@ void Window::_update_viewport_size() { } bool allocate = is_inside_tree() && visible && (window_id != DisplayServer::INVALID_WINDOW_ID || embedder != nullptr); - _set_size(final_size, final_size_override, attach_to_screen_rect, allocate); + _set_size(final_size, final_size_override, allocate); if (window_id != DisplayServer::INVALID_WINDOW_ID) { RenderingServer::get_singleton()->viewport_attach_to_screen(get_viewport_rid(), attach_to_screen_rect, window_id); |