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:
@@ -470,7 +470,7 @@ void RendererSceneCull::_instance_update_mesh_instance(Instance *p_instance) {
|
||||
p_instance->mesh_instance = RSG::mesh_storage->mesh_instance_create(p_instance->base);
|
||||
|
||||
} else {
|
||||
RSG::mesh_storage->mesh_free(p_instance->mesh_instance);
|
||||
RSG::mesh_storage->mesh_instance_free(p_instance->mesh_instance);
|
||||
p_instance->mesh_instance = RID();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user