From 4dd5a17636fe30a4384c38bc9895dcd8f4fc58fd Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 26 Oct 2020 21:37:33 +0100 Subject: [PATCH] Fix uninitialized `Viewport::use_debanding` member variable --- scene/main/viewport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 9238f7637c4..b7d4a56b9eb 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 default_texture; Set viewport_textures;