diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-12-23 01:16:04 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-12-23 01:16:04 -0300 |
commit | 6b35211c53f14e5c9ea00b4e8382f497a11240c8 (patch) | |
tree | 1bb9686a03d9a33473d6eddf2d7e0afedfc4572c | |
parent | 19ba45587c878e1859383797a454852c5b525c64 (diff) |
eliminated some crashes according to llvm address sanitizer
-rw-r--r-- | drivers/gles3/rasterizer_scene_gles3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h index 61628f102f..3fdbdb95d0 100644 --- a/drivers/gles3/rasterizer_scene_gles3.h +++ b/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; } }; |