mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
aux/util: fix truncation warning
This commit is contained in:
parent
287bd1cb06
commit
9d57e158f9
|
@ -148,8 +148,8 @@ u_device_setup_split_side_by_side(struct xrt_device* xdev,
|
|||
float h_meters = info->display.h_meters;
|
||||
|
||||
float lens_center_x_meters[2] = {
|
||||
w_meters - info->lens_horizontal_separation_meters / 2.0,
|
||||
info->lens_horizontal_separation_meters / 2.0,
|
||||
w_meters - info->lens_horizontal_separation_meters / 2.0f,
|
||||
info->lens_horizontal_separation_meters / 2.0f,
|
||||
};
|
||||
|
||||
float lens_center_y_meters[2] = {
|
||||
|
|
Loading…
Reference in a new issue