summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-13 13:07:28 +0100
committerGitHub <noreply@github.com>2017-11-13 13:07:28 +0100
commitafec30837c7026251b90fab6f47131db19df278d (patch)
tree50ccef3db21bc6aacef9778218810e075eb78815 /servers/visual
parentfaf097d350a2a1c63ab9399355de70728a958b2d (diff)
parent9d3f8418ca252a4047b3818f16ed22228c1d0071 (diff)
Merge pull request #12622 from BastiaanOlij/arvr_changes_to_server
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