From daa4704c44e40fa942b32f32e3f664e98857acc1 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sat, 21 Sep 2024 09:56:19 +1000 Subject: [PATCH] openxr: Correct set the Depth swapchain name Introduced in 08ffa5d89e4bbd427eb3d5ce0c0de1382d21f18a. --- modules/openxr/openxr_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 73b6f6c1c94..c67be5a2b31 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: