Rename server "free" functions to "free_rid" to match exposed API

This commit is contained in:
Aaron Franke
2025-06-05 00:49:35 -07:00
parent 4d231b5bf8
commit 9fbf5808a0
158 changed files with 724 additions and 696 deletions

View File

@@ -205,7 +205,7 @@ VisualInstance3D::VisualInstance3D() {
VisualInstance3D::~VisualInstance3D() {
ERR_FAIL_NULL(RenderingServer::get_singleton());
RenderingServer::get_singleton()->free(instance);
RenderingServer::get_singleton()->free_rid(instance);
}
void GeometryInstance3D::set_material_override(const Ref<Material> &p_material) {