xrt: clarify comment

This commit is contained in:
Ryan Pavlik 2021-10-21 16:36:50 -05:00
parent 0a05fac46d
commit 02435cc033

View file

@ -1640,7 +1640,7 @@ xrt_comp_native_create_swapchain(struct xrt_compositor_native *xcn,
xrt_result_t ret = xrt_comp_create_swapchain(&xcn->base, info, &xsc); xrt_result_t ret = xrt_comp_create_swapchain(&xcn->base, info, &xsc);
if (ret == XRT_SUCCESS) { if (ret == XRT_SUCCESS) {
// Need to dereference any swapchain already there first. // Need to unref any swapchain already there first.
xrt_swapchain_native_reference(out_xscn, NULL); xrt_swapchain_native_reference(out_xscn, NULL);
// Already referenced. // Already referenced.