mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix typo that resulted in left eye depth buffer being submitted for the right eye
This commit is contained in:
parent
deb760fb1b
commit
a35d792e65
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ bool OpenXRAPI::create_swapchains() {
|
|||
depth_views[i].type = XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR;
|
||||
depth_views[i].next = nullptr;
|
||||
depth_views[i].subImage.swapchain = swapchains[OPENXR_SWAPCHAIN_DEPTH].swapchain;
|
||||
depth_views[i].subImage.imageArrayIndex = 0;
|
||||
depth_views[i].subImage.imageArrayIndex = i;
|
||||
depth_views[i].subImage.imageRect.offset.x = 0;
|
||||
depth_views[i].subImage.imageRect.offset.y = 0;
|
||||
depth_views[i].subImage.imageRect.extent.width = recommended_size.width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue