openxr: Correct set the Depth swapchain name

Introduced in 08ffa5d89e.
This commit is contained in:
Alistair Leslie-Hughes 2024-09-21 09:56:19 +10:00
parent 621cadcf65
commit daa4704c44
1 changed files with 1 additions and 1 deletions

View File

@ -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: