mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
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:
parent
1761d98a2e
commit
eb438b2381
|
@ -413,7 +413,7 @@ client_gl_compositor_get_swapchain_create_properties(struct xrt_compositor *xc,
|
||||||
struct xrt_swapchain_create_info vkinfo = *info;
|
struct xrt_swapchain_create_info vkinfo = *info;
|
||||||
vkinfo.format = vk_format;
|
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
|
static xrt_result_t
|
||||||
|
|
Loading…
Reference in a new issue