diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-08-23 15:23:16 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-08-26 23:24:44 +1000 |
commit | 86ff7f8550703d8636828d7d204e1c8aeeb94432 (patch) | |
tree | 4b5cfdfcd358ca0a64b450429927c86980adfb24 /servers/rendering | |
parent | 6e87d628735cb201cb3de49a723baaf60d9c942d (diff) |
Adding GDExtension support to XRInterface
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/renderer_viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_viewport.cpp b/servers/rendering/renderer_viewport.cpp index 15ce1dbe63..e8e44408d4 100644 --- a/servers/rendering/renderer_viewport.cpp +++ b/servers/rendering/renderer_viewport.cpp @@ -544,7 +544,7 @@ void RendererViewport::draw_viewports() { RSG::storage->render_target_set_as_unused(vp->render_target); if (vp->use_xr && xr_interface.is_valid()) { // override our size, make sure it matches our required size and is created as a stereo target - vp->size = xr_interface->get_render_targetsize(); + vp->size = xr_interface->get_render_target_size(); uint32_t view_count = xr_interface->get_view_count(); RSG::storage->render_target_set_size(vp->render_target, vp->size.x, vp->size.y, view_count); |