mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
c/util: Change swapchain index used in do_mesh_from_proj
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2377>
This commit is contained in:
parent
e076de071a
commit
06986621d6
|
@ -772,7 +772,7 @@ do_mesh_from_proj(struct render_gfx *rr,
|
|||
for (uint32_t i = 0; i < d->view_count; i++) {
|
||||
const uint32_t array_index = vds[i]->sub.array_index;
|
||||
|
||||
const struct comp_swapchain_image *image = get_layer_image(layer, 0, vds[i]->sub.image_index);
|
||||
const struct comp_swapchain_image *image = get_layer_image(layer, i, vds[i]->sub.image_index);
|
||||
|
||||
struct xrt_pose src_pose;
|
||||
struct xrt_fov src_fov;
|
||||
|
|
Loading…
Reference in a new issue