Browse Source

eliminated some crashes according to llvm address sanitizer

Juan Linietsky 8 năm trước cách đây
mục cha
commit
6b35211c53
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      drivers/gles3/rasterizer_scene_gles3.h

+ 2 - 0
drivers/gles3/rasterizer_scene_gles3.h

@@ -536,6 +536,8 @@ public:
 		Vector3 cell_size_cache;
 		Vector3 bounds;
 		Transform transform_to_data;
+
+		GIProbeInstance() { probe=NULL; tex_cache=0; }
 	};