mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
xrt: Add missing xrt_comp_layer_stereo_projection_depth
This commit is contained in:
parent
2cd010b65f
commit
9bd725a800
|
@ -906,6 +906,26 @@ xrt_comp_layer_stereo_projection(struct xrt_compositor *xc,
|
|||
return xc->layer_stereo_projection(xc, xdev, l_xsc, r_xsc, data);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @copydoc xrt_compositor::layer_stereo_projection_depth
|
||||
*
|
||||
* Helper for calling through the function pointer.
|
||||
*
|
||||
* @public @memberof xrt_compositor
|
||||
*/
|
||||
static inline xrt_result_t
|
||||
xrt_comp_layer_stereo_projection_depth(struct xrt_compositor *xc,
|
||||
struct xrt_device *xdev,
|
||||
struct xrt_swapchain *l_xsc,
|
||||
struct xrt_swapchain *r_xsc,
|
||||
struct xrt_swapchain *l_d_xsc,
|
||||
struct xrt_swapchain *r_d_xsc,
|
||||
struct xrt_layer_data *data)
|
||||
{
|
||||
return xc->layer_stereo_projection_depth(xc, xdev, l_xsc, r_xsc,
|
||||
l_d_xsc, r_d_xsc, data);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @copydoc xrt_compositor::layer_quad
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue