c/client: Actually use modified xrt_swapchain_create_info.

Fixes GCC 13 warning [-Wunused-but-set-variable].

Use the modified copy of xrt_swapchain_create_info instead of the
const pointer parameter.
This commit is contained in:
Lubosz Sarnecki 2023-08-09 13:55:32 +02:00 committed by Jakob Bornecrantz
parent 1761d98a2e
commit eb438b2381

View file

@ -413,7 +413,7 @@ client_gl_compositor_get_swapchain_create_properties(struct xrt_compositor *xc,
struct xrt_swapchain_create_info vkinfo = *info;
vkinfo.format = vk_format;
return xrt_comp_get_swapchain_create_properties(&c->xcn->base, info, xsccp);
return xrt_comp_get_swapchain_create_properties(&c->xcn->base, &vkinfo, xsccp);
}
static xrt_result_t