summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-26 22:59:03 +0100
committerGitHub <noreply@github.com>2020-10-26 22:59:03 +0100
commit6bf935d7867e21bc371c59182364cd50b86520c1 (patch)
tree2b820684be6b336b5910938b95ea409dd9238565
parentb370aa75dd95ec6b7921f0e95be428a550a0edcc (diff)
parent4dd5a17636fe30a4384c38bc9895dcd8f4fc58fd (diff)
Merge pull request #43107 from Calinou/fix-uninitialized-debanding-member
Fix uninitialized `Viewport::use_debanding` member variable
-rw-r--r--scene/main/viewport.h2
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;