Explorar el Código

Fix uninitialized `Viewport::use_debanding` member variable

Hugo Locurcio hace 4 años
padre
commit
4dd5a17636
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;