changed visual server free() to free_rid() like in the other servers. Fixes #4917
(cherry picked from commit 64b4253dbf
)
This commit is contained in:
parent
c2e09a21ac
commit
56c5da8565
|
@ -560,7 +560,7 @@ void VisualServer::_bind_methods() {
|
||||||
|
|
||||||
ObjectTypeDB::bind_method(_MD("draw"),&VisualServer::draw);
|
ObjectTypeDB::bind_method(_MD("draw"),&VisualServer::draw);
|
||||||
ObjectTypeDB::bind_method(_MD("sync"),&VisualServer::sync);
|
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);
|
ObjectTypeDB::bind_method(_MD("set_default_clear_color"),&VisualServer::set_default_clear_color);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue