diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 5ac0e5b5d5d..96079079328 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -560,7 +560,7 @@ void VisualServer::_bind_methods() { ObjectTypeDB::bind_method(_MD("draw"),&VisualServer::draw); ObjectTypeDB::bind_method(_MD("sync"),&VisualServer::sync); - ObjectTypeDB::bind_method(_MD("free"),&VisualServer::free); + ObjectTypeDB::bind_method(_MD("free_rid"),&VisualServer::free); ObjectTypeDB::bind_method(_MD("set_default_clear_color"),&VisualServer::set_default_clear_color);