소스 검색

Fix uninitialized `Viewport::use_debanding` member variable

Hugo Locurcio 4 년 전
부모
커밋
4dd5a17636
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/main/viewport.h

+ 1 - 1
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;