Fix layer used for fast-path data

This commit is contained in:
Patrick Nicolas
2026-02-03 21:58:02 +01:00
parent 5837fa3a12
commit 6bb842cc2d
+1 -1
View File
@@ -639,7 +639,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
{
if (layer.data.type == XRT_LAYER_PROJECTION)
{
const auto & proj = cn->c->base.layer_accum.layers[0].data.proj;
const auto & proj = layer.data.proj;
view_info.pose[eye] = xrt_cast(proj.v[eye].pose);
view_info.fov[eye] = xrt_cast(proj.v[eye].fov);
break;