summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorGustav Lund <glu@gamblify.com>2017-08-30 12:40:35 +0200
committerGustav Lund <glu@gamblify.com>2017-08-30 14:22:43 +0200
commit417113edf3b08eb88b17e59397b2d1b6db50e485 (patch)
tree223ab630d854736891dd96523c2ad6f661874dc6 /servers
parent8b9026c05e9982a7bc0c7f52776ad74276b90252 (diff)
Renderer/Simulator flags
Now hopefully with correct code style
Diffstat (limited to 'servers')
-rw-r--r--servers/visual_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp
index 777feffb06..67b847d127 100644
--- a/servers/visual_server.cpp
+++ b/servers/visual_server.cpp
@@ -1422,6 +1422,7 @@ Array VisualServer::mesh_surface_get_arrays(RID p_mesh, int p_surface) const {
void VisualServer::_bind_methods() {
+ ClassDB::bind_method(D_METHOD("force_draw"), &VisualServer::draw);
ClassDB::bind_method(D_METHOD("texture_create"), &VisualServer::texture_create);
ClassDB::bind_method(D_METHOD("texture_create_from_image", "image", "flags"), &VisualServer::texture_create_from_image, DEFVAL(TEXTURE_FLAGS_DEFAULT));
//ClassDB::bind_method(D_METHOD("texture_allocate"),&VisualServer::texture_allocate,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );