Explorar el Código

eliminated some crashes according to llvm address sanitizer

Juan Linietsky hace 8 años
padre
commit
6b35211c53
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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; }
 	};