Skip to content

Commit f246419

Browse files
committed
Merge pull request godotengine#97259 from alesliehughes/openxr_copy_paste
OpenXR: Correctly set the Depth swapchain name
2 parents cc26cac + daa4704 commit f246419

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)