mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
xrt: clarify comment
This commit is contained in:
parent
0a05fac46d
commit
02435cc033
|
@ -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);
|
||||
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);
|
||||
|
||||
// Already referenced.
|
||||
|
|
Loading…
Reference in a new issue