The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/ohmd,svr: Fix build

fixes d601f893da3f37a2543db7d4b509d35428a03bac

authored by

Christoph Haag and committed by
Jakob Bornecrantz
9dbfdf97 63a180cb

+3 -3
+2 -2
src/xrt/drivers/ohmd/oh_device.c
··· 703 703 } 704 704 705 705 static bool 706 - compute_distortion_openhmd(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) 706 + compute_distortion_openhmd(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) 707 707 { 708 708 struct oh_device *ohd = oh_device(xdev); 709 709 return u_compute_distortion_openhmd(&ohd->distortion.openhmd[view], u, v, result); 710 710 } 711 711 712 712 static bool 713 - compute_distortion_vive(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) 713 + compute_distortion_vive(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) 714 714 { 715 715 struct oh_device *ohd = oh_device(xdev); 716 716 return u_compute_distortion_vive(&ohd->distortion.vive[view], u, v, result);
+1 -1
src/xrt/drivers/simula/svr_hmd.c
··· 127 127 128 128 //!@todo: remove hard-coding and move to u_distortion_mesh 129 129 bool 130 - svr_mesh_calc(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) 130 + svr_mesh_calc(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) 131 131 { 132 132 struct svr_hmd *svr = svr_hmd(xdev); 133 133