You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix typo, call mesh_instance_free not mesh_free
This commit is contained in:
@@ -131,6 +131,6 @@ const Rect2 &RendererCanvasRender::Item::get_rect() const {
|
||||
|
||||
RendererCanvasRender::Item::CommandMesh::~CommandMesh() {
|
||||
if (mesh_instance.is_valid()) {
|
||||
RSG::mesh_storage->mesh_free(mesh_instance);
|
||||
RSG::mesh_storage->mesh_instance_free(mesh_instance);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user