summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-13 22:12:56 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-13 22:12:56 -0300
commit64b4253dbfe3fdfc4efa405086d23765a9774d91 (patch)
tree3400fe1af53bcc7def4ef99bcdbc3dd7dbf64bf2 /servers
parent4866713bc3ab58cd22ef5090a75b8a20e3b35e7d (diff)
changed visual server free() to free_rid() like in the other servers. Fixes #4917
Diffstat (limited to 'servers')
-rw-r--r--servers/visual_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp
index 570a5a6ee4..fafc09f554 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);