diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-13 13:07:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 13:07:28 +0100 |
commit | afec30837c7026251b90fab6f47131db19df278d (patch) | |
tree | 50ccef3db21bc6aacef9778218810e075eb78815 /servers/visual | |
parent | faf097d350a2a1c63ab9399355de70728a958b2d (diff) | |
parent | 9d3f8418ca252a4047b3818f16ed22228c1d0071 (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.cpp | 2 |
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 |