Rename server "free" functions to "free_rid" to match exposed API
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user