diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-05 14:34:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 14:34:31 +0200 |
commit | b80b072c44cfc4f6ec1bfecc045374597eb296e0 (patch) | |
tree | 39544b604c8be6cf6daa56a2a7774426d394c2a3 /scene/main/viewport.cpp | |
parent | 33b8f1448e3efd8ad71c65c3d42581fae82905a3 (diff) | |
parent | d83761ba80b90e17aaefaa83c7ece0fa89511266 (diff) |
Merge pull request #47642 from akien-mga/clang-tidy-fixes
Diffstat (limited to 'scene/main/viewport.cpp')
-rw-r--r-- | scene/main/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index f382f5b685..a2047261f5 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -3228,8 +3228,9 @@ Viewport::ScreenSpaceAA Viewport::get_screen_space_aa() const { } void Viewport::set_use_debanding(bool p_use_debanding) { - if (use_debanding == p_use_debanding) + if (use_debanding == p_use_debanding) { return; + } use_debanding = p_use_debanding; RS::get_singleton()->viewport_set_use_debanding(viewport, p_use_debanding); } |