Skip to content

Commit daa4704

Browse files
committed
openxr: Correct set the Depth swapchain name
Introduced in 08ffa5d.
1 parent 621cadc commit daa4704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/openxr/openxr_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ bool OpenXRAPI::create_main_swapchains(Size2i p_size) {
12471247
return false;
12481248
}
12491249

1250-
set_object_name(XR_OBJECT_TYPE_SWAPCHAIN, uint64_t(render_state.main_swapchains[OPENXR_SWAPCHAIN_COLOR].get_swapchain()), "Main depth swapchain");
1250+
set_object_name(XR_OBJECT_TYPE_SWAPCHAIN, uint64_t(render_state.main_swapchains[OPENXR_SWAPCHAIN_DEPTH].get_swapchain()), "Main depth swapchain");
12511251
}
12521252

12531253
// We create our velocity swapchain if:

0 commit comments

Comments
 (0)