Fix layer used for fast-path data
This commit is contained in:
@@ -639,7 +639,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
|
|||||||
{
|
{
|
||||||
if (layer.data.type == XRT_LAYER_PROJECTION)
|
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.pose[eye] = xrt_cast(proj.v[eye].pose);
|
||||||
view_info.fov[eye] = xrt_cast(proj.v[eye].fov);
|
view_info.fov[eye] = xrt_cast(proj.v[eye].fov);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user