diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-10-26 22:59:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 22:59:03 +0100 |
commit | 6bf935d7867e21bc371c59182364cd50b86520c1 (patch) | |
tree | 2b820684be6b336b5910938b95ea409dd9238565 | |
parent | b370aa75dd95ec6b7921f0e95be428a550a0edcc (diff) | |
parent | 4dd5a17636fe30a4384c38bc9895dcd8f4fc58fd (diff) |
Merge pull request #43107 from Calinou/fix-uninitialized-debanding-member
Fix uninitialized `Viewport::use_debanding` member variable
-rw-r--r-- | scene/main/viewport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 9238f7637c..b7d4a56b9e 100644 --- a/scene/main/viewport.h +++ b/scene/main/viewport.h @@ -279,7 +279,7 @@ private: MSAA msaa; ScreenSpaceAA screen_space_aa; - bool use_debanding; + bool use_debanding = false; Ref<ViewportTexture> default_texture; Set<ViewportTexture *> viewport_textures; |