summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-11-04 11:50:05 +1100
committerBastiaan Olij <mux213@gmail.com>2017-11-13 22:08:43 +1100
commit9d3f8418ca252a4047b3818f16ed22228c1d0071 (patch)
tree76524415f0affb0172b8437b96e7d0c51d8db389 /servers/visual
parent2fce0010f0d0eb2476028ed62335508bceabd820 (diff)
Removed add/remove interface bindings and added get_interfaces
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/visual_server_viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/visual_server_viewport.cpp b/servers/visual/visual_server_viewport.cpp
index 92c431e393..fbf593f5b9 100644
--- a/servers/visual/visual_server_viewport.cpp
+++ b/servers/visual/visual_server_viewport.cpp
@@ -268,7 +268,7 @@ void VisualServerViewport::draw_viewports() {
if (vp->use_arvr && arvr_interface.is_valid()) {
// override our size, make sure it matches our required size
- Size2 size = arvr_interface->get_recommended_render_targetsize();
+ Size2 size = arvr_interface->get_render_targetsize();
VSG::storage->render_target_set_size(vp->render_target, size.x, size.y);
// render mono or left eye first