mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
aux/util: Don't overwrite distortion info
This commit is contained in:
parent
102e36efc9
commit
b351e8cd75
|
@ -159,8 +159,10 @@ u_device_setup_split_side_by_side(struct xrt_device *xdev,
|
|||
|
||||
// Common
|
||||
xdev->hmd->blend_mode = XRT_BLEND_MODE_OPAQUE;
|
||||
xdev->hmd->distortion.models = XRT_DISTORTION_MODEL_NONE;
|
||||
xdev->hmd->distortion.preferred = XRT_DISTORTION_MODEL_NONE;
|
||||
if (xdev->hmd->distortion.models == 0) {
|
||||
xdev->hmd->distortion.models = XRT_DISTORTION_MODEL_NONE;
|
||||
xdev->hmd->distortion.preferred = XRT_DISTORTION_MODEL_NONE;
|
||||
}
|
||||
xdev->hmd->screens[0].w_pixels = info->display.w_pixels;
|
||||
xdev->hmd->screens[0].h_pixels = info->display.h_pixels;
|
||||
|
||||
|
|
Loading…
Reference in a new issue