summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-09 13:54:55 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-10 07:17:51 +0200
commit78619a5866f44b057bc539e46a936f7580360800 (patch)
tree5ed9bb7c0b4b10e3979f5ada26505e62ba465c4a /servers
parentb8420cda9c449160330ae30f1f89be7238502ee6 (diff)
Fixes method definitions with extra number of arguments
Diffstat (limited to 'servers')
-rw-r--r--servers/visual_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp
index 3e46c8bb52..65dd4d7661 100644
--- a/servers/visual_server.cpp
+++ b/servers/visual_server.cpp
@@ -1443,8 +1443,8 @@ void VisualServer::_bind_methods() {
//ClassDB::bind_method(D_METHOD("texture_allocate"),&VisualServer::texture_allocate,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );
//ClassDB::bind_method(D_METHOD("texture_set_data"),&VisualServer::texture_blit_rect,DEFVAL( CUBEMAP_LEFT ) );
//ClassDB::bind_method(D_METHOD("texture_get_rect"),&VisualServer::texture_get_rect );
- ClassDB::bind_method(D_METHOD("texture_set_flags", "texture"), &VisualServer::texture_set_flags);
- ClassDB::bind_method(D_METHOD("texture_get_flags", "texture", "flags"), &VisualServer::texture_get_flags);
+ ClassDB::bind_method(D_METHOD("texture_set_flags", "texture", "flags"), &VisualServer::texture_set_flags);
+ ClassDB::bind_method(D_METHOD("texture_get_flags", "texture"), &VisualServer::texture_get_flags);
ClassDB::bind_method(D_METHOD("texture_get_width", "texture"), &VisualServer::texture_get_width);
ClassDB::bind_method(D_METHOD("texture_get_height", "texture"), &VisualServer::texture_get_height);