Crop FOV in layer squasher
This commit is contained in:
committed by
Vindicus999
parent
24e9b12dec
commit
cf65ac0b23
@@ -357,6 +357,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
{
|
||||
// no fast-path, squash layers
|
||||
std::array<xrt_pose, 2> poses;
|
||||
const auto extent = images[0].image.info().extent;
|
||||
std::tie(poses, src_fov, src_rect) = squasher.do_layers(
|
||||
vk.device,
|
||||
cmd,
|
||||
|
||||
Reference in New Issue
Block a user