summaryrefslogtreecommitdiff
path: root/servers/rendering/dummy/storage/mesh_storage.h
diff options
context:
space:
mode:
authordzil123 <5725958+dzil123@users.noreply.github.com>2022-11-17 03:41:55 -0800
committerdzil123 <5725958+dzil123@users.noreply.github.com>2022-11-17 03:41:55 -0800
commite9d213e0fdf30505febc3ca3ebaa9aeffc3a30c0 (patch)
treea027f4ed57214007abe5ac8c6bad4b26fe6df4e0 /servers/rendering/dummy/storage/mesh_storage.h
parent966785751f156c9b75be5aabf64bc52390c4b050 (diff)
RendererDummy fix buffer overflow due to mesh_get_surface
Diffstat (limited to 'servers/rendering/dummy/storage/mesh_storage.h')
-rw-r--r--servers/rendering/dummy/storage/mesh_storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/dummy/storage/mesh_storage.h b/servers/rendering/dummy/storage/mesh_storage.h
index 4399f4ab66..28fe8cb80d 100644
--- a/servers/rendering/dummy/storage/mesh_storage.h
+++ b/servers/rendering/dummy/storage/mesh_storage.h
@@ -116,7 +116,7 @@ public:
virtual AABB mesh_get_aabb(RID p_mesh, RID p_skeleton = RID()) override { return AABB(); }
virtual void mesh_set_shadow_mesh(RID p_mesh, RID p_shadow_mesh) override {}
- virtual void mesh_clear(RID p_mesh) override {}
+ virtual void mesh_clear(RID p_mesh) override;
/* MESH INSTANCE */