summaryrefslogtreecommitdiff
path: root/scene/main/viewport.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-10-26 21:37:33 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-10-26 21:37:33 +0100
commit4dd5a17636fe30a4384c38bc9895dcd8f4fc58fd (patch)
tree2b820684be6b336b5910938b95ea409dd9238565 /scene/main/viewport.h
parentb370aa75dd95ec6b7921f0e95be428a550a0edcc (diff)
Fix uninitialized `Viewport::use_debanding` member variable
Diffstat (limited to 'scene/main/viewport.h')
-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;