diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-21 11:50:49 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-21 11:50:49 +0200 |
commit | f246419c58f4331082be6cb7e63960f51a7a079c (patch) | |
tree | e54c0ed6761efd89e0355360ea35fe2b5c0a8218 /modules | |
parent | cc26cacc080d936056dcf73906f06df20e414396 (diff) | |
parent | daa4704c44e40fa942b32f32e3f664e98857acc1 (diff) | |
download | redot-engine-f246419c58f4331082be6cb7e63960f51a7a079c.tar.gz |
Merge pull request #97259 from alesliehughes/openxr_copy_paste
OpenXR: Correctly set the Depth swapchain name
Diffstat (limited to 'modules')
-rw-r--r-- | modules/openxr/openxr_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 73b6f6c1c9..c67be5a2b3 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -1247,7 +1247,7 @@ bool OpenXRAPI::create_main_swapchains(Size2i p_size) { return false; } - set_object_name(XR_OBJECT_TYPE_SWAPCHAIN, uint64_t(render_state.main_swapchains[OPENXR_SWAPCHAIN_COLOR].get_swapchain()), "Main depth swapchain"); + set_object_name(XR_OBJECT_TYPE_SWAPCHAIN, uint64_t(render_state.main_swapchains[OPENXR_SWAPCHAIN_DEPTH].get_swapchain()), "Main depth swapchain"); } // We create our velocity swapchain if: |