diff options
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index 3255726c1f..8452afb045 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -6950,6 +6950,7 @@ bool RasterizerStorageGLES3::free(RID p_rid) { memdelete(cls); } else if (particles_owner.owns(p_rid)) { Particles *particles = particles_owner.get(p_rid); + particles->instance_remove_deps(); particles_owner.free(p_rid); memdelete(particles); } else { |