Commit 9d57e158 authored by Ryan Pavlik's avatar Ryan Pavlik Committed by Jakob Bornecrantz
Browse files

aux/util: fix truncation warning

parent 287bd1cb
Pipeline #43426 passed with stages
in 40 seconds
...@@ -148,8 +148,8 @@ u_device_setup_split_side_by_side(struct xrt_device* xdev, ...@@ -148,8 +148,8 @@ u_device_setup_split_side_by_side(struct xrt_device* xdev,
float h_meters = info->display.h_meters; float h_meters = info->display.h_meters;
float lens_center_x_meters[2] = { float lens_center_x_meters[2] = {
w_meters - info->lens_horizontal_separation_meters / 2.0, w_meters - info->lens_horizontal_separation_meters / 2.0f,
info->lens_horizontal_separation_meters / 2.0, info->lens_horizontal_separation_meters / 2.0f,
}; };
float lens_center_y_meters[2] = { float lens_center_y_meters[2] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment